Merge "Fix string interpolation to delayed to be handled by the logging code"
This commit is contained in:
commit
c3524b6d8c
|
@ -103,7 +103,7 @@ class _BaseHTTPClient(object):
|
|||
'response_request_id': request_id})
|
||||
|
||||
if not resp.ok:
|
||||
LOG.debug("Request returned failure status %s." % resp.status_code)
|
||||
LOG.debug("Request returned failure status %s.", resp.status_code)
|
||||
raise exc.from_response(resp, resp.content)
|
||||
elif (resp.status_code == requests.codes.MULTIPLE_CHOICES and
|
||||
resp.request.path_url != '/versions'):
|
||||
|
|
Loading…
Reference in New Issue