From d6f50e8476feb3c76db485fa033d0b1c22ee024d Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Thu, 29 Aug 2013 15:16:00 -0700 Subject: [PATCH] Fixes formatting exception from logging in BigSwitch plugin 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/bigswitch/plugin.py b/neutron/plugins/bigswitch/plugin.py index 3911f2fe5..1588e5deb 100644 --- a/neutron/plugins/bigswitch/plugin.py +++ b/neutron/plugins/bigswitch/plugin.py @@ -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}) -- 2.45.2