Fix cluster action list filter

This patch change action 'target' filter.

Change-Id: I1a234ed9b0073c062a63127c45384d30d0bff3bd
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This commit is contained in:
Yuanbin.Chen 2017-05-24 10:06:34 +08:00
parent bc4a0c4066
commit d0e7c27cc3
1 changed files with 2 additions and 1 deletions

View File

@ -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.