diff --git a/pkg/minikube/machine/cache_images.go b/pkg/minikube/machine/cache_images.go index 5899980ce450..48552bfc8c00 100644 --- a/pkg/minikube/machine/cache_images.go +++ b/pkg/minikube/machine/cache_images.go @@ -20,6 +20,7 @@ import ( "io/ioutil" "os" "os/exec" + "path" "path/filepath" "runtime" "strings" @@ -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)