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
This commit is contained in:
imacdonn 2018-12-14 00:54:32 +00:00
parent 38e91b1030
commit 80fdc0a71b
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):