mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Reset allocation pools to [] instead of ''"
This commit is contained in:
commit
cf88d03957
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ class SetSubnet(command.Command):
|
|||
if not parsed_args.no_allocation_pool:
|
||||
attrs['allocation_pools'] += obj.allocation_pools
|
||||
elif parsed_args.no_allocation_pool:
|
||||
attrs['allocation_pools'] = ''
|
||||
attrs['allocation_pools'] = []
|
||||
if 'service_types' in attrs:
|
||||
attrs['service_types'] += obj.service_types
|
||||
client.update_subnet(obj, **attrs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue