1
0

Use single temp directory base

This commit is contained in:
2023-04-07 16:43:56 +00:00
parent 32b692f752
commit 056e38698e
6 changed files with 18 additions and 21 deletions

View File

@@ -159,7 +159,7 @@ func unpackTar(archive, destination string) (err error) {
}
func downloadImage(path, file string) (err error) {
tmp, err := ioutil.TempDir("/tmp/", "out-of-tree_")
tmp, err := ioutil.TempDir(tempDirBase, "out-of-tree_")
if err != nil {
return
}