diff --git a/vmware_nsxlib/v3/policy/lb_defs.py b/vmware_nsxlib/v3/policy/lb_defs.py index 792aa363..5ab53747 100644 --- a/vmware_nsxlib/v3/policy/lb_defs.py +++ b/vmware_nsxlib/v3/policy/lb_defs.py @@ -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'] = []