Browse Source

Merge "Use consistent filter API syntax" into stable/stein

changes/42/770742/3
Zuul 9 months ago
committed by Gerrit Code Review
parent
commit
e71d73c0c1
  1. 2
      neutron/db/l3_db.py

2
neutron/db/l3_db.py

@ -626,7 +626,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:

Loading…
Cancel
Save