Let server order event-list
Events should be coming from the server in insertion order. We don't have a reliable field to sort the events by client side, and the default in cliutils is to sort by the first output column, which is the resource name. Change-Id: I853061aff19924a62fa69af403c055ada7a4d5cf
This commit is contained in:
parent
5a78fdf4ec
commit
4b4f4a0b96
|
@ -698,7 +698,7 @@ def do_event_list(hc, args):
|
|||
fields.insert(0, 'resource_name')
|
||||
else:
|
||||
fields.insert(0, 'logical_resource_id')
|
||||
utils.print_list(events, fields)
|
||||
utils.print_list(events, fields, sortby_index=None)
|
||||
|
||||
|
||||
@utils.arg('id', metavar='<NAME or ID>',
|
||||
|
|
Loading…
Reference in New Issue