From c65b4d7c24b3ff8d347e1c0d5ece685575f1fa0d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 24 Jul 2024 13:09:09 +0100 Subject: [PATCH] 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 Closes-bug: #2073261 --- openstack/cloud/_floating_ip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openstack/cloud/_floating_ip.py b/openstack/cloud/_floating_ip.py index e0c698a08..15725cdae 100644 --- a/openstack/cloud/_floating_ip.py +++ b/openstack/cloud/_floating_ip.py @@ -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.