Skip to content

Commit c6f32e4

Browse files
Update updater/download_image.go
Co-authored-by: Per Tillisch <accounts@perglass.com>
1 parent a3a3b72 commit c6f32e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

updater/download_image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func GetTempDir(prefix string, tempDir string) (*paths.Path, error) {
194194
return nil, err
195195
}
196196
if d.Free/GB < NeededDiskSpace {
197-
return nil, fmt.Errorf("aborting: download and extraction requires up to 15Gb of free space")
197+
return nil, fmt.Errorf("aborting: download and extraction requires up to %d GB of free space", NeededDiskSpace)
198198
}
199199

200200
return temp, nil

0 commit comments

Comments
 (0)