Skip to content

Commit a623d40

Browse files
committed
Use _ensure_enough_diskimage_space_old in fallback code instead of _ensure_enough_diskimage_space
1 parent 74c6417 commit a623d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repos/system_upgrade/common/libraries/overlaygen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def _prepare_required_mounts_old(scratch_dir, mounts_dir, mount_points, xfs_info
705705
# Ensure we cleanup old disk images before we check for space contraints.
706706
run(['rm', '-rf', disk_images_directory])
707707
_create_diskimages_dir(scratch_dir, disk_images_directory)
708-
_ensure_enough_diskimage_space(space_needed, scratch_dir, xfs_noftype_mounts)
708+
_ensure_enough_diskimage_space_old(space_needed, scratch_dir, xfs_noftype_mounts)
709709

710710
mount_names = [mount_point.fs_file for mount_point in mount_points]
711711

0 commit comments

Comments
 (0)