mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-11-23 15:40:24 +00:00
fix using undefined variable
Closes-Bug: #2162084 Change-Id: I3276aa8613165a98bd5fafa1c7830039f95ad4bb Signed-off-by: Daniel Wuensche <wuensche@b1-systems.de>
This commit is contained in:
committed by
Daniel Wuensche
parent
ee88cc15b8
commit
9a437e49bc
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- lb_pool.py - Fix using undefined variable
|
||||||
@@ -235,7 +235,7 @@ class LoadBalancerPoolModule(OpenStackModule):
|
|||||||
loadbalancer_name_or_id, ignore_missing=False)
|
loadbalancer_name_or_id, ignore_missing=False)
|
||||||
# Field load_balancer_id is not returned from self.conn.\
|
# Field load_balancer_id is not returned from self.conn.\
|
||||||
# load_balancer.find_load_balancer() so use load_balancers instead.
|
# load_balancer.find_load_balancer() so use load_balancers instead.
|
||||||
if listener['load_balancers'] != [dict(id=loadbalancer.id)]:
|
if pool['loadbalancers'] != [dict(id=loadbalancer.id)]:
|
||||||
non_updateable_keys.append('loadbalancer_id')
|
non_updateable_keys.append('loadbalancer_id')
|
||||||
|
|
||||||
if non_updateable_keys:
|
if non_updateable_keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user