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

Commit

Permalink
Merge pull request #395 from alexeagle/0.17.x
Browse files Browse the repository at this point in the history
Extract to tmpdir without characters that are illegal on Windows
  • Loading branch information
loosebazooka authored Jul 27, 2023
2 parents 0f743be + 0f633dd commit 35d9770
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 35d9770

Please sign in to comment.