From 0f633ddbc271cbf0ea3f8c5d9c505980cf448854 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 20 Jul 2023 18:58:25 -0700 Subject: [PATCH] make a shorter tmpdir without funny characters --- pkg/util/image_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/image_utils.go b/pkg/util/image_utils.go index 78146823..26c211ea 100644 --- a/pkg/util/image_utils.go +++ b/pkg/util/image_utils.go @@ -195,7 +195,7 @@ func getExtractPathForName(name string, cacheDir string) (string, error) { } else { // otherwise, create tempdir logrus.Infof("skipping caching") - path, err = ioutil.TempDir("", strings.Replace(name, "/", "", -1)) + path, err = ioutil.TempDir("", "extracttar") if err != nil { return "", err }