Skip to content

Commit

Permalink
Load cached images using VM path separators
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-section-io authored and dlorenc committed May 21, 2018
1 parent 3e0faef commit 52cf7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/minikube/machine/cache_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"io/ioutil"
"os"
"os/exec"
"path"
"path/filepath"
"runtime"
"strings"
Expand Down Expand Up @@ -198,7 +199,7 @@ func LoadFromCacheBlocking(cmd bootstrapper.CommandRunner, src string) error {
break
}
}
dst := filepath.Join(tempLoadDir, filename)
dst := path.Join(tempLoadDir, filename)
f, err := assets.NewFileAsset(src, tempLoadDir, filename, "0777")
if err != nil {
return errors.Wrapf(err, "creating copyable file asset: %s", filename)
Expand Down

0 comments on commit 52cf7de

Please sign in to comment.