Merge "Fix available space checking for image conversion"

This commit is contained in:
Zuul 2017-12-12 21:16:23 +00:00 committed by Gerrit Code Review
commit b8cfd7838f
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ def fetch_to_volume_format(context, image_service,
# NOTE(e0ne): check for free space in destination directory before
# 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
# to the volume regardless if it *needs* conversion or not