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

Extract to tmpdir without characters that are illegal on Windows #395

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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