Trivial: fix warning message formatting

This patch fix formatting error of the warning message in
common/neutron.py add_ports_to_network() function.

Change-Id: Id63e7fce99f840eb8b540ac7b8d40525d2063239
This commit is contained in:
Vasyl Saienko 2016-10-13 14:30:08 +03:00
parent a228b6af82
commit 15eb6a3ff4

View File

@ -129,7 +129,7 @@ def add_ports_to_network(task, network_uuid, is_flat=False):
except neutron_exceptions.NeutronClientException as e:
failures.append(ironic_port.uuid)
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"),
{'net': network_uuid, 'node': node.uuid,
'ir-port': ironic_port.uuid, 'exc': e})