Merge "Fix available space checking for image conversion"
This commit is contained in:
commit
b8cfd7838f
|
@ -448,7 +448,7 @@ def fetch_to_volume_format(context, image_service,
|
||||||
|
|
||||||
# NOTE(e0ne): check for free space in destination directory before
|
# NOTE(e0ne): check for free space in destination directory before
|
||||||
# image conversion.
|
# image conversion.
|
||||||
check_available_space(dest, virt_size, image_id)
|
check_available_space(dest, data.virtual_size, image_id)
|
||||||
|
|
||||||
# NOTE(jdg): I'm using qemu-img convert to write
|
# NOTE(jdg): I'm using qemu-img convert to write
|
||||||
# to the volume regardless if it *needs* conversion or not
|
# to the volume regardless if it *needs* conversion or not
|
||||||
|
|
Loading…
Reference in New Issue