Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 0f633dd

Browse files
committed
make a shorter tmpdir without funny characters
1 parent bea7ad9 commit 0f633dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/image_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func getExtractPathForName(name string, cacheDir string) (string, error) {
195195
} else {
196196
// otherwise, create tempdir
197197
logrus.Infof("skipping caching")
198-
path, err = ioutil.TempDir("", strings.Replace(name, "/", "", -1))
198+
path, err = ioutil.TempDir("", "extracttar")
199199
if err != nil {
200200
return "", err
201201
}

0 commit comments

Comments
 (0)