From 4b4f4a0b96f724398a4a7ce0dc0aeb55e21c0a82 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 15 May 2014 22:13:04 -0400 Subject: [PATCH] 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 --- heatclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 09794fc5..dc9ed335 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -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='',