Merge "Change log message in get_qemu_data"

This commit is contained in:
Zuul 2024-01-09 18:40:30 +00:00 committed by Gerrit Code Review
commit 799f0076a7

@ -657,10 +657,9 @@ def get_qemu_data(image_id: str,
if has_meta: if has_meta:
if not disk_format_raw: if not disk_format_raw:
raise exception.ImageUnacceptable( raise exception.ImageUnacceptable(
reason=_("qemu-img is not installed and image is of " reason=_("qemu-img is not installed and image is not of "
"type %s. Only RAW images can be used if " "type RAW. Only RAW images can be used if "
"qemu-img is not installed.") % "qemu-img is not installed."),
disk_format_raw,
image_id=image_id) image_id=image_id)
else: else:
raise exception.ImageUnacceptable( raise exception.ImageUnacceptable(