Fix nova instance-action-list output field and order
'instance-action-list' is not possible to identify the order and time of the specified instance actions. This patch fixes the sort of 'Start_time' and add field. Change-Id: If9e6aaf8eb631819bf8e1c915cb1da64d6fcd2f4 Implements: blueprint instance-action-list-output
This commit is contained in:
parent
dccdd02e48
commit
e5d2e2c2d4
@ -62,4 +62,5 @@ def do_instance_action_list(cs, args):
|
||||
"""List actions on a server."""
|
||||
server = utils.find_resource(cs.servers, args.server)
|
||||
actions = cs.instance_action.list(server)
|
||||
utils.print_list(actions, ['Action', 'Request_ID', 'Message'])
|
||||
utils.print_list(actions,
|
||||
['Action', 'Request_ID', 'Message', 'Start_Time'], sortby_index=3)
|
||||
|
Loading…
Reference in New Issue
Block a user