Sorting on the entries based on id
Change-Id: I5dce30a64b4e042a5dd4fc971ae2907dbc477fb2
This commit is contained in:
@@ -24,7 +24,8 @@ def do_result(cs, args):
|
|||||||
healtchecks = cs.healthcheck.list()
|
healtchecks = cs.healthcheck.list()
|
||||||
columns = ('uuid', 'id', 'name', 'testtype', 'state')
|
columns = ('uuid', 'id', 'name', 'testtype', 'state')
|
||||||
utils.print_list(healtchecks, columns,
|
utils.print_list(healtchecks, columns,
|
||||||
{'versions': _print_list_field('versions')})
|
{'versions': _print_list_field('versions')},
|
||||||
|
sortby_index=1)
|
||||||
|
|
||||||
|
|
||||||
@utils.arg('--name',
|
@utils.arg('--name',
|
||||||
|
Reference in New Issue
Block a user