Merge "Treat Filter as Dict in get_policies"

This commit is contained in:
Jenkins 2017-08-21 01:51:04 +00:00 committed by Gerrit Code Review
commit f311b42d28

View File

@ -262,6 +262,7 @@ class QoSPlugin(qos.QoSPluginBase):
:returns: QosPolicy objects meeting the search criteria
"""
filters = filters or dict()
pager = base_obj.Pager(sorts, limit, page_reverse, marker)
return policy_object.QosPolicy.get_objects(context, _pager=pager,
**filters)