Skip to content

Commit cf88d03

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Reset allocation pools to [] instead of ''"
2 parents 6eff90c + d373d76 commit cf88d03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/network/v2/subnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def take_action(self, parsed_args):
542542
if not parsed_args.no_allocation_pool:
543543
attrs['allocation_pools'] += obj.allocation_pools
544544
elif parsed_args.no_allocation_pool:
545-
attrs['allocation_pools'] = ''
545+
attrs['allocation_pools'] = []
546546
if 'service_types' in attrs:
547547
attrs['service_types'] += obj.service_types
548548
client.update_subnet(obj, **attrs)

0 commit comments

Comments
 (0)