diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-19 14:24:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-19 14:24:15 +0000 |
| commit | cf88d03957d2118e151257f6dc657d90e114e180 (patch) | |
| tree | ce0b9454151776b82707ba2ab62a659b7f9495f9 /openstackclient | |
| parent | 6eff90c3d6058af6d2acd70a615fa7ef3379899f (diff) | |
| parent | d373d76d1dc60a604d7750219be5573bbf903600 (diff) | |
| download | python-openstackclient-cf88d03957d2118e151257f6dc657d90e114e180.tar.gz | |
Merge "Reset allocation pools to [] instead of ''"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/network/v2/subnet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py index 1b778c91..f1ecb5a7 100644 --- a/openstackclient/network/v2/subnet.py +++ b/openstackclient/network/v2/subnet.py @@ -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) |
