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
This commit is contained in:
Kevin Benton 2013-08-29 15:16:00 -07:00
parent 0f35cddf1a
commit d6f50e8476

View File

@ -333,7 +333,7 @@ class ServerPool(object):
raise RemoteRestError(resp[2]) raise RemoteRestError(resp[2])
if resp[0] in ignore_codes: if resp[0] in ignore_codes:
LOG.warning(_("NeutronRestProxyV2: Received and ignored error " 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"), "%(resource)s"),
{'code': resp[2], 'action': action, {'code': resp[2], 'action': action,
'resource': resource}) 'resource': resource})