Skip to content

Commit ee22070

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Correct display of project/tenant id on display of credentials"
2 parents 4900c64 + 8117256 commit ee22070

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎openstackclient/identity/v2_0/ec2creds.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,11 @@ def take_action(self, parsed_args):
135135
# Get the user from the current auth
136136
user = identity_client.auth_user_id
137137

138-
columns = ('Access', 'Secret', 'Project ID', 'User ID')
138+
columns = ('access', 'secret', 'tenant_id', 'user_id')
139+
column_headers = ('Access', 'Secret', 'Project ID', 'User ID')
139140
data = identity_client.ec2.list(user)
140-
return (columns,
141+
142+
return (column_headers,
141143
(utils.get_item_properties(
142144
s, columns,
143145
formatters={},

0 commit comments

Comments
 (0)