Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 35d9770

Browse files
Merge pull request #395 from alexeagle/0.17.x
Extract to tmpdir without characters that are illegal on Windows
2 parents 0f743be + 0f633dd commit 35d9770

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)

AltStyle によって変換されたページ (->オリジナル) /