mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-11-23 15:40:24 +00:00
Merge "fix using undefined variable"
This commit is contained in:
@@ -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