From b2c7fbedbc7c3f62009c032b016773102f97cde9 Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Tue, 21 Aug 2012 13:56:19 -0700 Subject: [PATCH] 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 --- quantum/plugins/openvswitch/ovs_quantum_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/plugins/openvswitch/ovs_quantum_plugin.py b/quantum/plugins/openvswitch/ovs_quantum_plugin.py index 8a70729841..0d8bd09ba2 100644 --- a/quantum/plugins/openvswitch/ovs_quantum_plugin.py +++ b/quantum/plugins/openvswitch/ovs_quantum_plugin.py @@ -353,7 +353,7 @@ class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2, return [self._fields(net, fields) for net in nets] def update_port(self, context, id, port): - if self.agent_pc: + if self.agent_rpc: original_port = super(OVSQuantumPluginV2, self).get_port(context, id) port = super(OVSQuantumPluginV2, self).update_port(context, id, port)