Merge "Fix floating IP associated to unbound port" into stable/2024.1

This commit is contained in:
Zuul 2024-11-14 00:45:04 +00:00 committed by Gerrit Code Review
commit 9ae4a109b4

View File

@ -248,9 +248,7 @@ def get_instance_info(fip):
'fixed_ip': fip.fixed_ip}) 'fixed_ip': fip.fixed_ip})
if fip.instance_type == 'loadbalancer': if fip.instance_type == 'loadbalancer':
return _("Load Balancer VIP %s") % fip.fixed_ip return _("Load Balancer VIP %s") % fip.fixed_ip
if fip.instance_type: return getattr(fip, 'fixed_ip', None)
return fip.fixed_ip
return None
def get_instance_link(datum): def get_instance_link(datum):