Skip to content

Commit 38d8a78

Browse files
caberoscaberos
caberos
authored and
caberos
committed
fix the team code review comments
1 parent 98435fe commit 38d8a78

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Display details for a specified cloud object storage."""
1+
"""Display permission details for a cloud object storage."""
22
# :license: MIT, see LICENSE for more details.
33

44
import click
@@ -11,34 +11,34 @@
1111
@click.argument('object_id')
1212
@environment.pass_env
1313
def cli(env, object_id):
14-
"""Display details for a cloud object storage."""
14+
"""Display permission details for a cloud object storage."""
1515

1616
block_manager = SoftLayer.BlockStorageManager(env.client)
1717

1818
cloud = block_manager.get_network_message_delivery_accounts(object_id)
1919
end_points = block_manager.get_end_points(object_id)
2020

21-
table = formatting.Table(['name', 'value'])
21+
table = formatting.Table(['Name', 'Value'])
2222

23-
table_credentials = formatting.Table(['Id', 'Username', 'Password', 'Description'])
23+
table_credentials = formatting.Table(['Id', 'Access Key ID', 'Secret Access Key', 'Description'])
2424

2525
for credential in cloud.get('credentials'):
2626
table_credentials.add_row([credential.get('id'),
2727
credential.get('username'),
2828
credential.get('password'),
2929
credential['type']['description']])
3030

31-
table_url = formatting.Table(['region',
32-
'location',
33-
'type',
34-
'url'])
31+
table_url = formatting.Table(['Region',
32+
'Location',
33+
'Type',
34+
'URL'])
3535
for end_point in end_points:
3636
table_url.add_row([end_point.get('region') or '',
3737
end_point.get('location') or '',
3838
end_point.get('type'),
3939
end_point.get('url'), ])
4040

4141
table.add_row(['UUID', cloud.get('uuid')])
42-
table.add_row(['Credemtial', table_credentials])
43-
table.add_row(['EndPoint URL', table_url])
42+
table.add_row(['Credentials', table_credentials])
43+
table.add_row(['EndPoint URL´s', table_url])
4444
env.fout(table)

0 commit comments

Comments
 (0)