Merge "Add filter "enabled" for cluster-policy-list"

This commit is contained in:
Jenkins 2016-10-31 09:05:19 +00:00 committed by Gerrit Code Review
commit bdf2e684ff
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class ClusterPolicy(resource.Resource):
allow_list = True
allow_get = True
_query_mapping = resource.QueryParameters(is_enabled='enabled')
# Properties
#: ID of the policy object.
policy_id = resource.Body('policy_id', alternate_id=True)