From 0006275fe7b9a5b0e5a2ffaa024a77097c673939 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 14 Aug 2015 19:19:31 +0900 Subject: [PATCH] ml2: Remove a redundant assignment in _bind_port_level Don't mark binding FAILED here, as the caller does the same. Change-Id: I95d9a64965d0ca9bf8a870f05c73fa11cf189f8f --- neutron/plugins/ml2/managers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py index 4f678b226..d563e0cc0 100644 --- a/neutron/plugins/ml2/managers.py +++ b/neutron/plugins/ml2/managers.py @@ -698,7 +698,6 @@ class MechanismManager(stevedore.named.NamedExtensionManager): LOG.exception(_LE("Mechanism driver %s failed in " "bind_port"), driver.name) - binding.vif_type = portbindings.VIF_TYPE_BINDING_FAILED LOG.error(_LE("Failed to bind port %(port)s on host %(host)s"), {'port': context.current['id'], 'host': binding.host}) -- 2.45.2