2 parents 6eff90c + d373d76 commit cf88d03Copy full SHA for cf88d03
1 file changed
openstackclient/network/v2/subnet.py
@@ -542,7 +542,7 @@ def take_action(self, parsed_args):
542
if not parsed_args.no_allocation_pool:
543
attrs['allocation_pools'] += obj.allocation_pools
544
elif parsed_args.no_allocation_pool:
545
- attrs['allocation_pools'] = ''
+ attrs['allocation_pools'] = []
546
if 'service_types' in attrs:
547
attrs['service_types'] += obj.service_types
548
client.update_subnet(obj, **attrs)
0 commit comments