@@ -28,35 +28,35 @@ def cli(env, identifier):
2828 table .align ['name' ] = 'r'
2929 table .align ['value' ] = 'l'
3030
31- table .add_row (['id ' , image ['id' ]])
32- table .add_row (['global_identifier ' ,
31+ table .add_row (['Id ' , image ['id' ]])
32+ table .add_row (['Global Identifier ' ,
3333 image .get ('globalIdentifier' , formatting .blank ())])
34- table .add_row (['name ' , image ['name' ].strip ()])
35- table .add_row (['status ' , formatting .FormattedItem (
34+ table .add_row (['Name ' , image ['name' ].strip ()])
35+ table .add_row (['Status ' , formatting .FormattedItem (
3636 utils .lookup (image , 'status' , 'keyname' ),
3737 utils .lookup (image , 'status' , 'name' ),
3838 )])
3939
4040 table .add_row ([
41- 'active_transaction ' ,
41+ 'Active Transaction ' ,
4242 formatting .listing (_get_transaction_groups (children_images ), separator = ',' ),
4343 ])
44- table .add_row (['account ' , image .get ('accountId' , formatting .blank ())])
45- table .add_row (['created ' , image .get ('createDate' )])
46- table .add_row (['total_size ' , formatting .b_to_gb (total_size )])
47- table .add_row (['visibility ' ,
44+ table .add_row (['Account ' , image .get ('accountId' , formatting .blank ())])
45+ table .add_row (['Created ' , image .get ('createDate' )])
46+ table .add_row (['Total Size ' , formatting .b_to_gb (total_size )])
47+ table .add_row (['Visibility ' ,
4848 image_mod .PUBLIC_TYPE if image ['publicFlag' ]
4949 else image_mod .PRIVATE_TYPE ])
50- table .add_row (['type ' ,
50+ table .add_row (['Type ' ,
5151 formatting .FormattedItem (
5252 utils .lookup (image , 'imageType' , 'keyName' ),
5353 utils .lookup (image , 'imageType' , 'name' ),
5454 )])
55- table .add_row (['flex ' , image .get ('flexImageFlag' )])
56- table .add_row (['note ' , image .get ('note' )])
57- table .add_row (['datacenters ' , _get_datacenter_table (children_images )])
58- table .add_row (['virtual disks ' , _get_virtual_disks (children_images )])
59- table .add_row (['share image ' , _get_share_image (image )])
55+ table .add_row (['Flex ' , image .get ('flexImageFlag' )])
56+ table .add_row (['Note ' , image .get ('note' )])
57+ table .add_row (['Datacenters ' , _get_datacenter_table (children_images )])
58+ table .add_row (['Virtual Disks ' , _get_virtual_disks (children_images )])
59+ table .add_row (['Share Image ' , _get_share_image (image )])
6060
6161 env .fout (table )
6262
@@ -66,7 +66,7 @@ def _get_datacenter_table(children_images):
6666
6767 :param children_images: A list of images.
6868 """
69- table_datacenter = formatting .Table (['DC' , 'size ' , 'transaction ' ])
69+ table_datacenter = formatting .Table (['DC' , 'Size ' , 'Transaction ' ])
7070 for child in children_images :
7171 table_datacenter .add_row ([
7272 utils .lookup (child , 'datacenter' , 'name' ),
@@ -95,7 +95,7 @@ def _get_virtual_disks(children_images):
9595 :param children_images: A list of images.
9696 """
9797
98- table_virtual_disks = formatting .Table (['Device' , 'capacity ' , 'size on disk ' ])
98+ table_virtual_disks = formatting .Table (['Device' , 'Capacity ' , 'Size On Disk ' ])
9999
100100 if utils .lookup (children_images [0 ], 'blockDevices' ):
101101 for block_devices in children_images [0 ]['blockDevices' ]:
@@ -125,7 +125,7 @@ def _get_share_image(image):
125125
126126 :param image: Detail information about image.
127127 """
128- table_share_account = formatting .Table (['Account' , 'shared on ' ])
128+ table_share_account = formatting .Table (['Account' , 'Shared On ' ])
129129 if utils .lookup (image , 'accountReferences' ):
130130 for account in image ['accountReferences' ]:
131131 if account ['accountId' ] != image ['accountId' ]:
0 commit comments