Fix missing parameter in the log message

This is to fix a missing parameter issue in the log message.

Change-Id: Ide8625bf15b953e393b512390e15a539ee7ee164
This commit is contained in:
zhufl 2020-01-03 16:32:58 +08:00
parent 62aae48bd2
commit 3039a30ae3
1 changed files with 2 additions and 2 deletions

View File

@ -280,8 +280,8 @@ class NeutronNetworkPlugin(network.NetworkBaseAPI):
return ip['ip_address']
except ValueError:
LOG.error("%(address)s isn't a valid ip "
"address, omitted."), {'address':
ip['ip_address']}
"address, omitted.", {'address':
ip['ip_address']})
msg = _("Can not find any IP address with configured IP "
"version %(version)s in share-network.") % {'version':
ip_version}