Remove redudant code
Fixes bug 1102402 Change-Id: Ib4a226cdc18506c1aa08707cc06fa76d4090287f
This commit is contained in:
parent
823b639513
commit
3c15ed1a6d
@ -878,9 +878,6 @@ class QuantumDbPluginV2(quantum_plugin_base_v2.QuantumPluginBaseV2):
|
|||||||
for route in subnet['routes']],
|
for route in subnet['routes']],
|
||||||
'shared': subnet['shared']
|
'shared': subnet['shared']
|
||||||
}
|
}
|
||||||
if subnet['gateway_ip']:
|
|
||||||
res['gateway_ip'] = subnet['gateway_ip']
|
|
||||||
|
|
||||||
return self._fields(res, fields)
|
return self._fields(res, fields)
|
||||||
|
|
||||||
def _make_port_dict(self, port, fields=None):
|
def _make_port_dict(self, port, fields=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user