Skip to content

Commit 6de7bf0

Browse files
author
sunyajing
committed
modify server group
make column_headers equal to columns, to keep code consistence Change-Id: Ia96b398ad822fc5fac3753e28709c370165bda8a
1 parent 93db7f5 commit 6de7bf0

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

openstackclient/compute/v2/server_group.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,7 @@ def take_action(self, parsed_args):
129129
data = compute_client.server_groups.list(parsed_args.all_projects)
130130

131131
if parsed_args.long:
132-
column_headers = (
133-
'ID',
134-
'Name',
135-
'Policies',
136-
'Members',
137-
'Project Id',
138-
'User Id',
139-
)
140-
columns = (
132+
column_headers = columns = (
141133
'ID',
142134
'Name',
143135
'Policies',

0 commit comments

Comments
 (0)