From 80fdc0a71b55659d92efdda826807d60d8bd4ab9 Mon Sep 17 00:00:00 2001 From: imacdonn Date: Fri, 14 Dec 2018 00:54:32 +0000 Subject: [PATCH] Set message property in ImageDownloadFailed Set the correct property, "message". Looks like "_msg_fmt" may have been erroneously carried over from some other project (Ironic?) Change-Id: I2aa56da73660794c6dedcbb8a66e84bcec511a9c Closes-Bug: #1808443 Related-Bug: #1799221 --- cinder/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/exception.py b/cinder/exception.py index d7bb818d9b3..fbade5102e6 100644 --- a/cinder/exception.py +++ b/cinder/exception.py @@ -728,7 +728,7 @@ class GlanceMetadataNotFound(NotFound): class ImageDownloadFailed(CinderException): - _msg_fmt = _("Failed to download image %(image_href)s, reason: %(reason)s") + message = _("Failed to download image %(image_href)s, reason: %(reason)s") class ExportFailure(Invalid):