Merge "Treat Filter as Dict in get_policies"
This commit is contained in:
commit
f311b42d28
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user