From 388d3c39abc04424885069b06f5dfb69a76b9dd6 Mon Sep 17 00:00:00 2001 From: miaohb Date: Fri, 18 Nov 2016 15:25:46 +0800 Subject: [PATCH] Add sort key "cluster_id" for event list The output of event list cannot sort by cluster, we add "cluster_id" into its sort key arrry at engine side, both sdk and api side has support it already. Change-Id: I6526214db99535817804b49b804cda19e127b5a2 Closed-Bug: 1642833 --- senlin/common/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlin/common/consts.py b/senlin/common/consts.py index 59d98816c..eab454611 100644 --- a/senlin/common/consts.py +++ b/senlin/common/consts.py @@ -181,7 +181,7 @@ EVENT_ATTRS = ( EVENT_SORT_KEYS = [ EVENT_TIMESTAMP, EVENT_LEVEL, EVENT_OBJ_TYPE, EVENT_OBJ_NAME, - EVENT_ACTION, EVENT_STATUS, EVENT_OBJ_ID, + EVENT_ACTION, EVENT_STATUS, EVENT_OBJ_ID, EVENT_CLUSTER_ID, ] ACTION_ATTRS = (