Fix updating Policy LB pool with no members
Change-Id: I35e99bcd7ad2399196ec6040d5e0bc2ca4e0c762
This commit is contained in:
parent
a92a32b619
commit
cd305ac756
@ -192,6 +192,8 @@ class LBPoolDef(ResourceDef):
|
||||
body, ['active_monitor_paths',
|
||||
'algorithm', 'member_group', 'snat_translation'])
|
||||
members = self.get_attr('members')
|
||||
if members is None:
|
||||
members = []
|
||||
if self.has_attr('members'):
|
||||
members = members if isinstance(members, list) else [members]
|
||||
body['members'] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user