From b369b45aa1c70788f7f92b9d39c499b1d4fc0546 Mon Sep 17 00:00:00 2001 From: miaohb Date: Fri, 18 Nov 2016 16:48:00 +0800 Subject: [PATCH] The output of action list filtered by "target" returns empty Only full id can get correct result, we'd better notice it. Change-Id: I571555ce583ccd2fe46a160ce46670fc291b4116 Closed-Bug: 1642871 --- senlinclient/v1/action.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/senlinclient/v1/action.py b/senlinclient/v1/action.py index 1c4342d5..e4fc7b3f 100644 --- a/senlinclient/v1/action.py +++ b/senlinclient/v1/action.py @@ -36,7 +36,9 @@ class ListAction(command.Lister): help=_("Filter parameters to apply on returned actions. " "This can be specified multiple times, or once with " "parameters separated by a semicolon. The valid filter " - "keys are: ['name', 'target', 'action', 'status']"), + "keys are: ['name', 'target', 'action', 'status']. " + "NOTICE: The value of 'target', if provided, " + "must be a full ID."), action='append' ) parser.add_argument(