Merge "Use consistent filter API syntax"

This commit is contained in:
Zuul 2021-01-20 17:02:56 +00:00 committed by Gerrit Code Review
commit 329f378837
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase,
if p.get('device_owner') == DEVICE_OWNER_ROUTER_GW:
ext_subts = self._core_plugin.get_subnets(
context.elevated(),
filters={'network_id': p['network_id']})
filters={'network_id': [p['network_id']]})
for sub in ext_subts:
router_subnets.append(sub['id'])
else: