Fix missing value types for log message

This patch add missing value types for some log message of exception.

Change-Id: Ie9f512bc804f0cd70df991b1910c975a2f9d6fcf
Closes-Bug: #1494574
This commit is contained in:
Sergey Vilgelm 2015-09-12 21:55:01 +03:00
parent 6a845249d0
commit 57b6a651a3
2 changed files with 2 additions and 2 deletions

View File

@ -855,7 +855,7 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase):
if 'id' in fip:
data = {'floatingip_id': fip['id'],
'internal_ip': internal_ip_address}
msg = (_('Floating IP %(floatingip_id) is associated '
msg = (_('Floating IP %(floatingip_id)s is associated '
'with non-IPv4 address %s(internal_ip)s and '
'therefore cannot be bound.') % data)
else:

View File

@ -64,7 +64,7 @@ class InvalidServiceTag(TempestException):
class InvalidIdentityVersion(TempestException):
message = "Invalid version %(identity_version) of the identity service"
message = "Invalid version %(identity_version)s of the identity service"
class TimeoutException(TempestException):