Merge "Trivial: fix warning message formatting"

This commit is contained in:
Jenkins 2016-10-13 16:26:33 +00:00 committed by Gerrit Code Review
commit 652a4b40d4

View File

@ -129,7 +129,7 @@ def add_ports_to_network(task, network_uuid, is_flat=False):
except neutron_exceptions.NeutronClientException as e: except neutron_exceptions.NeutronClientException as e:
failures.append(ironic_port.uuid) failures.append(ironic_port.uuid)
LOG.warning(_LW("Could not create neutron port for node's " LOG.warning(_LW("Could not create neutron port for node's "
"%(node)s port %(ir-port) on the neutron " "%(node)s port %(ir-port)s on the neutron "
"network %(net)s. %(exc)s"), "network %(net)s. %(exc)s"),
{'net': network_uuid, 'node': node.uuid, {'net': network_uuid, 'node': node.uuid,
'ir-port': ironic_port.uuid, 'exc': e}) 'ir-port': ironic_port.uuid, 'exc': e})