]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixes formatting exception from logging in BigSwitch plugin
authorKevin Benton <kevin.benton@bigswitch.com>
Thu, 29 Aug 2013 22:16:00 +0000 (15:16 -0700)
committerKevin Benton <kevin.benton@bigswitch.com>
Thu, 29 Aug 2013 22:18:03 +0000 (15:18 -0700)
Corrects the data type expected for the HTTP code that comes
back from the back-end controller in a debug log call.

Closes-Bug: #1220521
Change-Id: Ic71b24c724222ade5e695addf291c6488d665da9

neutron/plugins/bigswitch/plugin.py

index 3911f2fe5d938d588a6b41c874cbc29c2ba39007..1588e5deb82408042838060af9e2452ad65a2086 100644 (file)
@@ -333,7 +333,7 @@ class ServerPool(object):
             raise RemoteRestError(resp[2])
         if resp[0] in ignore_codes:
             LOG.warning(_("NeutronRestProxyV2: Received and ignored error "
-                          "code %(code)d on %(action)s action to resource "
+                          "code %(code)s on %(action)s action to resource "
                           "%(resource)s"),
                         {'code': resp[2], 'action': action,
                          'resource': resource})