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

Commit

Permalink
make a shorter tmpdir without funny characters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jul 21, 2023
1 parent bea7ad9 commit 0f633dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/image_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0f633dd

Please sign in to comment.