Skip to content

Commit af24130

Browse files
hgw77andypf
andauthored
fix(networking): non defined ptr record (#1632)
Co-authored-by: Andreas Pfau <[email protected]>
1 parent 5d7e675 commit af24130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/networking/app/views/networking/floating_ips/_item.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
%span.info-text= " / #{floating_ip.subnet_object.name}"
1111
%br
1212
%small.info-text
13-
- if fip_ptr_record.ptrdname
13+
- if defined?(fip_ptr_record) && fip_ptr_record&.ptrdname.present?
1414
= fip_ptr_record.ptrdname
1515
- else
1616
- if floating_ip.dns_domain

0 commit comments

Comments
 (0)