From d0e7c27cc3fa7dca1d9e958e03df52a00c2ff21b Mon Sep 17 00:00:00 2001 From: "Yuanbin.Chen" Date: Wed, 24 May 2017 10:06:34 +0800 Subject: [PATCH] Fix cluster action list filter This patch change action 'target' filter. Change-Id: I1a234ed9b0073c062a63127c45384d30d0bff3bd Signed-off-by: Yuanbin.Chen --- openstack/cluster/v1/action.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack/cluster/v1/action.py b/openstack/cluster/v1/action.py index 58691692..255a34bc 100644 --- a/openstack/cluster/v1/action.py +++ b/openstack/cluster/v1/action.py @@ -26,7 +26,8 @@ class Action(resource.Resource): allow_get = True _query_mapping = resource.QueryParameters( - 'name', 'target', 'action', 'status', 'sort', 'global_project') + 'name', 'action', 'status', 'sort', 'global_project', + target_id='target') # Properties #: Name of the action.