Fix tiny format string nit in log message.
Fixes bug 996157 To avoid "ValueError: unsupported format character ':' ..." Change-Id: I8666b3441ccbea884dcd7ad54f019a0681b717b4
This commit is contained in:
parent
a857842368
commit
7553b4fcb6
@ -915,7 +915,7 @@ class ImageSerializer(wsgi.JSONResponseSerializer):
|
||||
bytes_written += len(chunk)
|
||||
except Exception, err:
|
||||
msg = _("An error occurred reading from backend storage "
|
||||
"for image %(image_id): %(err)s") % locals()
|
||||
"for image %(image_id)s: %(err)s") % locals()
|
||||
logger.error(msg)
|
||||
raise
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user