Add more information show in v2
In v2, it's only show Id and Name. When use --verbose, although added owner and status, it's still lack of Disk-format,Container-format and Size. Change-Id: I26b4b7bd3a3f6dbf82ca73c32dd94c56e8e173a1 Closes-bug:#1486329
This commit is contained in:
parent
8d118ccedc
commit
14be6072e5
|
@ -174,7 +174,8 @@ def do_image_list(gc, args):
|
||||||
columns = ['ID', 'Name']
|
columns = ['ID', 'Name']
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
columns += ['owner', 'status']
|
columns += ['Disk_format', 'Container_format', 'Size', 'Status',
|
||||||
|
'Owner']
|
||||||
|
|
||||||
images = gc.images.list(**kwargs)
|
images = gc.images.list(**kwargs)
|
||||||
utils.print_list(images, columns)
|
utils.print_list(images, columns)
|
||||||
|
|
Loading…
Reference in New Issue