From bb04227ef2b412969f32607ad4aaf3bff8b96fa1 Mon Sep 17 00:00:00 2001 From: miaohb Date: Tue, 3 Jan 2017 17:37:23 +0800 Subject: [PATCH] Add filter "user_id" for receiver list This patch revises the help message of receiver list, to add the filter "user_id". Depends-On: Ic4c23e0216551a3707b49b9f8868c9aa41d76281, I096291a2860125681faee80d31be48f585996e7c, Ia33a0df2909ba93a66ac61f3b729671933aae9fa Change-Id: Ief2a928cec82f9a0adf1be7a4fcbecd0220ae17f Partial-Bug: #1653613 (cherry picked from commit 1c4ddad80636fb955c9d66cece049e22ec84c195) --- senlinclient/v1/receiver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/senlinclient/v1/receiver.py b/senlinclient/v1/receiver.py index dc9b766..5ebcfcd 100644 --- a/senlinclient/v1/receiver.py +++ b/senlinclient/v1/receiver.py @@ -37,7 +37,8 @@ class ListReceiver(command.Lister): help=_("Filter parameters to apply on returned receivers. " "This can be specified multiple times, or once with " "parameters separated by a semicolon. The valid filter " - "keys are: ['name', 'type', 'action', 'cluster_id']"), + "keys are: ['name', 'type', 'action', 'cluster_id', " + "'user_id']"), action='append' ) parser.add_argument(