diff options
| author | Jens Harbott <j.harbott@x-ion.de> | 2017-09-12 14:21:49 +0000 |
|---|---|---|
| committer | Jens Harbott <j.harbott@x-ion.de> | 2017-09-12 14:21:49 +0000 |
| commit | 104d6d0e316e74cb8a700dea09aa3566a6d8e069 (patch) | |
| tree | 91fae0ab3dcb6b6829909ce300e0f9d591e11b3a /openstackclient/network | |
| parent | 50099d3c725cb26c20dec91442d5b60460de544a (diff) | |
| download | python-openstackclient-104d6d0e316e74cb8a700dea09aa3566a6d8e069.tar.gz | |
Fix output for subnet show
The use_default_subnet_pool column is never returned by the API, it is
only being used in the request to create a subnet. So make sure that we
do not show it when displaying a subnet.
Change-Id: Ie021149cceb8f89b779ad0f3c13ac60420509671
Related-Bug: 1668223
Diffstat (limited to 'openstackclient/network')
| -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 c71358a5..2c71e1e0 100644 --- a/openstackclient/network/v2/subnet.py +++ b/openstackclient/network/v2/subnet.py @@ -135,7 +135,7 @@ def _get_columns(item): 'tenant_id': 'project_id', } # Do not show this column when displaying a subnet - invisible_columns = ['use_default_subnetpool'] + invisible_columns = ['use_default_subnet_pool'] return sdk_utils.get_osc_show_columns_for_sdk_resource( item, column_map, |
