summaryrefslogtreecommitdiff
path: root/glance_store
diff options
context:
space:
mode:
authorMatt Smith <mss@datera.io>2017-01-17 14:00:38 -0800
committerMatt Smith <mss@datera.io>2017-01-17 14:00:42 -0800
commit802c5a785444ba9ea5888c7cd131d004ec2a19ad (patch)
tree3ae1d17ba107b1181da276b2df2107c66b6760e8 /glance_store
parentee6840c92e637384061b9c8d213a81352466995e (diff)
downloadglance_store-802c5a785444ba9ea5888c7cd131d004ec2a19ad.tar.gz
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
Diffstat (limited to 'glance_store')
-rw-r--r--glance_store/_drivers/cinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glance_store/_drivers/cinder.py b/glance_store/_drivers/cinder.py
index bfca003..2d98556 100644
--- a/glance_store/_drivers/cinder.py
+++ b/glance_store/_drivers/cinder.py
@@ -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)