Merge "Avoid duplicated project_id when show network"

This commit is contained in:
Jenkins 2016-10-25 10:28:31 +00:00 committed by Gerrit Code Review
commit 824ed8490f

View File

@ -42,6 +42,7 @@ def _get_columns(item):
columns = list(item.keys())
if 'tenant_id' in columns:
columns.remove('tenant_id')
if 'project_id' not in columns:
columns.append('project_id')
return tuple(sorted(columns))