Fix invalid argument formatting in log messages
This is to fix the invalid argument formatting which will display as "Received retryable error {err}, waiting {wait} seconds to retry". Change-Id: Ie99558930f5ce6602dd646f99ad347c4e98e0987
This commit is contained in:
parent
599ef07775
commit
ffd0f12073
|
@ -535,8 +535,8 @@ def _call_client_and_retry(client, url, retry_on=None,
|
|||
except exc.OpenStackCloudHTTPError as e:
|
||||
if (retry_on is not None
|
||||
and e.response.status_code in retry_on):
|
||||
log.debug('Received retryable error {err}, waiting '
|
||||
'{wait} seconds to retry', {
|
||||
log.debug('Received retryable error %(err)s, waiting '
|
||||
'%(wait)s seconds to retry', {
|
||||
'err': e.response.status_code,
|
||||
'wait': retry_wait
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue