Browse Source

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
tags/2014.1.rc1
KIYOHIRO ADACHI 5 years ago
parent
commit
1a1fe2e1d2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nova/network/neutronv2/api.py

+ 1
- 1
nova/network/neutronv2/api.py View File

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

Loading…
Cancel
Save