From 773fd80bb084a9cc92e5b834332e93f3c4d71564 Mon Sep 17 00:00:00 2001 From: miaohb Date: Fri, 18 Nov 2016 16:33:18 +0800 Subject: [PATCH] The output of event-list by filter "cluster_id" return empty Only full id can get correct result, we'd better notice it. Change-Id: I912fc77d59a7ab6c1e78a6557b8ae5da58bc9b26 Closed-Bug: 1642869 --- senlinclient/v1/event.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/senlinclient/v1/event.py b/senlinclient/v1/event.py index 9a19680..b196305 100644 --- a/senlinclient/v1/event.py +++ b/senlinclient/v1/event.py @@ -37,7 +37,9 @@ class ListEvent(command.Lister): "This can be specified multiple times, or once with " "parameters separated by a semicolon. The valid filter " "keys are: ['level', 'otype', 'oid' ,'cluster_id', " - "'oname', 'action']"), + "'oname', 'action']. " + "NOTICE: The value of 'oid' or 'cluster_id', " + "if provided, must be a full ID."), action='append' ) parser.add_argument(