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
This commit is contained in:
miaohb 2016-11-18 15:25:46 +08:00
parent db865381bc
commit 388d3c39ab
1 changed files with 1 additions and 1 deletions

View File

@ -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 = (