Add conversion type to LOG.exception's string

Add conversion type for 'String Formatting Operations' to
LOG.exception's string in _get_floating_ips_by_fixed_and_port().

Change-Id: Iec97a354176e3044064bf190735257080be7ae70
Closes-Bug: #1289230
This commit is contained in:
KIYOHIRO ADACHI 2014-03-07 19:25:05 +09:00
parent c08cc38b81
commit 1a1fe2e1d2
1 changed files with 1 additions and 1 deletions

View File

@ -926,7 +926,7 @@ class API(base.Base):
return [] return []
with excutils.save_and_reraise_exception(): with excutils.save_and_reraise_exception():
LOG.exception(_('Unable to access floating IP %(fixed_ip)s ' LOG.exception(_('Unable to access floating IP %(fixed_ip)s '
'for port %(port_id)'), 'for port %(port_id)s'),
{'fixed_ip': fixed_ip, 'port_id': port}) {'fixed_ip': fixed_ip, 'port_id': port})
return data['floatingips'] return data['floatingips']