]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix a log typo in ML2 manager.bind_port()
authorLi Ma <skywalker.nick@gmail.com>
Sun, 13 Jul 2014 08:51:38 +0000 (01:51 -0700)
committerLi Ma <skywalker.nick@gmail.com>
Thu, 17 Jul 2014 02:01:15 +0000 (19:01 -0700)
Change-Id: I43134ef4a9e01aac1967fb7b69ad36f96cde04c0

neutron/plugins/ml2/managers.py

index 13df6732e2fce29da6d85b2a67f54542dd6d72e4..7e0bfc91745cd37f92e7e2cf9f05f16e8d1c875d 100644 (file)
@@ -444,8 +444,8 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
         attempt to establish a port binding.
         """
         binding = context._binding
-        LOG.debug(_("Attempting to bind port %(port)s on host %(host)s "
-                    "for vnic_type %(vnic_type)s with profile %(profile)s"),
+        LOG.debug("Attempting to bind port %(port)s on host %(host)s "
+                  "for vnic_type %(vnic_type)s with profile %(profile)s",
                   {'port': context._port['id'],
                    'host': binding.host,
                    'vnic_type': binding.vnic_type,
@@ -455,12 +455,12 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
                 driver.obj.bind_port(context)
                 if binding.segment:
                     binding.driver = driver.name
-                    LOG.debug(_("Bound port: %(port)s, host: %(host)s, "
-                                "vnic_type: %(vnic_type)s, "
-                                "profile: %(profile)s"
-                                "driver: %(driver)s, vif_type: %(vif_type)s, "
-                                "vif_details: %(vif_details)s, "
-                                "segment: %(segment)s"),
+                    LOG.debug("Bound port: %(port)s, host: %(host)s, "
+                              "vnic_type: %(vnic_type)s, "
+                              "profile: %(profile)s, "
+                              "driver: %(driver)s, vif_type: %(vif_type)s, "
+                              "vif_details: %(vif_details)s, "
+                              "segment: %(segment)s",
                               {'port': context._port['id'],
                                'host': binding.host,
                                'vnic_type': binding.vnic_type,