1
0

fix: cleanup tar.gz after unpack

This commit is contained in:
dump_stack() 2023-05-16 08:17:15 +00:00
parent a7e5827ff9
commit 046c553ed5
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

6
cache/cache.go vendored
View File

@ -64,7 +64,11 @@ func DownloadQemuImage(path, file string) (err error) {
}
err = unpackTar(resp.Filename, path)
return
if err != nil {
return
}
return os.Remove(resp.Filename)
}
func DownloadDebianCache(cachePath string) (err error) {