Fix DB query call
Commit dfdf67a51b introduced a bulk
get for subnets. Two of the parameters for the "_get_collection"
API were switched (filters and dict_func) for the call. The
filters parameter is kwargs, but the dict_func is positional,
so we have to switch them back.
Change-Id: I81dbe7bd45858e5bb6fd43cb6030e594b1015325
This commit is contained in:
committed by
Thomas Bachman
parent
3fad21c1a6
commit
1c718e354d
@@ -629,8 +629,8 @@ class Ml2PlusPlugin(ml2_plugin.Ml2Plugin,
|
||||
# Also, older branches are a slight variation, in line with
|
||||
# upstream code.
|
||||
subnets_db = db_api.get_collection(context, models_v2.Subnet,
|
||||
filters=filters,
|
||||
dict_func=None,
|
||||
filters=filters,
|
||||
sorts=sorts,
|
||||
limit=limit,
|
||||
marker_obj=marker_obj,
|
||||
|
||||
Reference in New Issue
Block a user