Fix missing print format error

Missing print format will cause 'ValueError: unsupported
format character' error, this is to fix it.

Change-Id: I43fca1f5bd1bcde3a5254f94c348ddafeb917283
This commit is contained in:
zhu.fanglei 2019-08-05 10:52:48 +08:00
parent d10b0ab496
commit c23a96d741

View File

@ -260,7 +260,7 @@ def add_ports_to_network(task, network_uuid, security_groups=None):
port_body['port']['binding:profile'] = binding_profile
if add_all_ports and not ironic_port.pxe_enabled:
LOG.debug("Adding port %(port)s to network %(net) for "
LOG.debug("Adding port %(port)s to network %(net)s for "
"provisioning without an IP allocation.",
{'port': ironic_port.uuid,
'net': network_uuid})