cloud: Replace reference to removed variable

We removed the floating network-specific caching in change
Ife5bda82eeb10c093b6cb55b0027ec16c89734d7 but an errant rebase of change
I10d3782899ac519f715d771d83303990a8289f04 reintroduced some use of the
now removed private variables used for this caching. Remove them again.

Change-Id: I5f867f91bb0e3a564d039d7184eadbe171e8f922
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-bug: #2073261
This commit is contained in:
Stephen Finucane 2024-07-24 13:09:09 +01:00
parent dfef1d36e8
commit c65b4d7c24

View File

@ -303,8 +303,7 @@ class FloatingIPCloudMixin:
'network_id'
)
if network_id:
self._floating_network_by_router = network_id
return self._floating_network_by_router
return network_id
def available_floating_ip(self, network=None, server=None):
"""Get a floating IP from a network or a pool.