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
(cherry picked from commit 80fdc0a71b)
This commit is contained in:
imacdonn 2018-12-14 00:54:32 +00:00 committed by iain MacDonnell
parent b2ef5ed2ac
commit 9c696ce29f
1 changed files with 1 additions and 1 deletions

View File

@ -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):