Merge "libvirt: Fix misleading error in Ploop imagebackend"
This commit is contained in:
@@ -1078,10 +1078,10 @@ class Ploop(Image):
|
||||
elif format == "raw":
|
||||
self.pcs_format = "raw"
|
||||
else:
|
||||
reason = _("Virtuozzo doesn't support images in %s format."
|
||||
" You should either set force_raw_images=True"
|
||||
" in config or upload an image in ploop"
|
||||
" or raw format.") % format
|
||||
reason = _("Ploop image backend doesn't support images in"
|
||||
" %s format. You should either set"
|
||||
" force_raw_images=True in config or upload an"
|
||||
" image in ploop or raw format.") % format
|
||||
raise exception.ImageUnacceptable(
|
||||
image_id=kwargs["image_id"],
|
||||
reason=reason)
|
||||
|
||||
Reference in New Issue
Block a user