Skip to content

Commit 104d6d0

Browse files
committed
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
1 parent 50099d3 commit 104d6d0

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
@@ -135,7 +135,7 @@ def _get_columns(item):
135135
'tenant_id': 'project_id',
136136
}
137137
# Do not show this column when displaying a subnet
138-
invisible_columns = ['use_default_subnetpool']
138+
invisible_columns = ['use_default_subnet_pool']
139139
return sdk_utils.get_osc_show_columns_for_sdk_resource(
140140
item,
141141
column_map,

0 commit comments

Comments
 (0)