Fixing string formatting bug in log message.
The first named formatting parameter was missing the 's' suffix this caused python to throw an error. Change-Id: I0e0c72a2fc19dd02250b1253f5f7ac04f9bac0fc
This commit is contained in:
parent
ee6840c92e
commit
802c5a7854
@ -586,7 +586,7 @@ class Store(glance_store.driver.Store):
|
||||
LOG.error(reason)
|
||||
raise exceptions.NotFound(reason)
|
||||
except cinder_exception.ClientException as e:
|
||||
msg = (_('Failed to get image volume %(volume_id): %(error)s')
|
||||
msg = (_('Failed to get image volume %(volume_id)s: %(error)s')
|
||||
% {'volume_id': loc.volume_id, 'error': e})
|
||||
LOG.error(msg)
|
||||
raise exceptions.BackendException(msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user