Correct display of project/tenant id on display of credentials
This change corrects the display of ec2 credentails within the ListEC2Creds method. Added explicit headers and corrected data listt o specify tenant_id instead of project id. Change-Id: I2ea579082bee800d774f202bdc38e2d546e57e77 Closes-Bug: #1292337
This commit is contained in:
parent
0c0803d363
commit
8117256d7d
@ -135,9 +135,11 @@ class ListEC2Creds(lister.Lister):
|
|||||||
# Get the user from the current auth
|
# Get the user from the current auth
|
||||||
user = identity_client.auth_user_id
|
user = identity_client.auth_user_id
|
||||||
|
|
||||||
columns = ('Access', 'Secret', 'Project ID', 'User ID')
|
columns = ('access', 'secret', 'tenant_id', 'user_id')
|
||||||
|
column_headers = ('Access', 'Secret', 'Project ID', 'User ID')
|
||||||
data = identity_client.ec2.list(user)
|
data = identity_client.ec2.list(user)
|
||||||
return (columns,
|
|
||||||
|
return (column_headers,
|
||||||
(utils.get_item_properties(
|
(utils.get_item_properties(
|
||||||
s, columns,
|
s, columns,
|
||||||
formatters={},
|
formatters={},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user