Merge "Parameter filters may be None, which cannot be called with **" into stable/xena
This commit is contained in:
commit
52871949e3
@ -166,6 +166,7 @@ class AddressGroupDbMixin(ag_ext.AddressGroupPluginBase):
|
|||||||
def get_address_groups(self, context, filters=None, fields=None,
|
def get_address_groups(self, context, filters=None, fields=None,
|
||||||
sorts=None, limit=None, marker=None,
|
sorts=None, limit=None, marker=None,
|
||||||
page_reverse=False):
|
page_reverse=False):
|
||||||
|
filters = filters or {}
|
||||||
pager = base_obj.Pager(sorts, limit, page_reverse, marker)
|
pager = base_obj.Pager(sorts, limit, page_reverse, marker)
|
||||||
address_groups = ag_obj.AddressGroup.get_objects(
|
address_groups = ag_obj.AddressGroup.get_objects(
|
||||||
context, _pager=pager, **filters)
|
context, _pager=pager, **filters)
|
||||||
|
Loading…
Reference in New Issue
Block a user