Skip to content

Commit 824ed84

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Avoid duplicated project_id when show network"
2 parents ac7b336 + 151c161 commit 824ed84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openstackclient/network/v2/network.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def _get_columns(item):
4242
columns = list(item.keys())
4343
if 'tenant_id' in columns:
4444
columns.remove('tenant_id')
45+
if 'project_id' not in columns:
4546
columns.append('project_id')
4647
return tuple(sorted(columns))
4748

0 commit comments

Comments
 (0)