fix typo in OVS plugin from recent bugfix

bug 1039393

this demonstrates why we need plugin unit tests merged into the main set
of unit tests.

Change-Id: I132c706a7c69c8c779727835be4319c5ed649385
This commit is contained in:
Dan Wendlandt 2012-08-21 13:56:19 -07:00
parent 7662c07e11
commit b2c7fbedbc

View File

@ -353,7 +353,7 @@ class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2,
return [self._fields(net, fields) for net in nets] return [self._fields(net, fields) for net in nets]
def update_port(self, context, id, port): def update_port(self, context, id, port):
if self.agent_pc: if self.agent_rpc:
original_port = super(OVSQuantumPluginV2, self).get_port(context, original_port = super(OVSQuantumPluginV2, self).get_port(context,
id) id)
port = super(OVSQuantumPluginV2, self).update_port(context, id, port) port = super(OVSQuantumPluginV2, self).update_port(context, id, port)