summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-24 05:03:04 +0000
committerGerrit Code Review <review@openstack.org>2018-06-24 05:03:04 +0000
commit4ffb3a905a7ce2af98f86e276afd00a0e3d0ae2e (patch)
tree834fe188db5b7e2d2649935d35a47994200437ab /openstackclient/network
parent08dbd154e5da266e44f44386f711a3177e9061bd (diff)
parent5bb5585aa98e17e22963996c02bd7bd688d7871e (diff)
downloadpython-openstackclient-4ffb3a905a7ce2af98f86e276afd00a0e3d0ae2e.tar.gz
Merge "Fix subnet host_routes error"
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/subnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py
index b5a8b35a..9c56186f 100644
--- a/openstackclient/network/v2/subnet.py
+++ b/openstackclient/network/v2/subnet.py
@@ -589,7 +589,7 @@ class SetSubnet(command.Command):
if not parsed_args.no_host_route:
attrs['host_routes'] += obj.host_routes
elif parsed_args.no_host_route:
- attrs['host_routes'] = ''
+ attrs['host_routes'] = []
if 'allocation_pools' in attrs:
if not parsed_args.no_allocation_pool:
attrs['allocation_pools'] += obj.allocation_pools