Set --preload flag to true so that download.PreloadExists doesn't immeditely return false
parent
c9c324242c
commit
e293b38431
|
@ -23,6 +23,7 @@ import (
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/spf13/viper"
|
||||||
"k8s.io/minikube/pkg/minikube/download"
|
"k8s.io/minikube/pkg/minikube/download"
|
||||||
"k8s.io/minikube/pkg/minikube/exit"
|
"k8s.io/minikube/pkg/minikube/exit"
|
||||||
)
|
)
|
||||||
|
@ -45,6 +46,7 @@ func init() {
|
||||||
if k8sVersion != "" {
|
if k8sVersion != "" {
|
||||||
k8sVersions = append(k8sVersions, k8sVersion)
|
k8sVersions = append(k8sVersions, k8sVersion)
|
||||||
}
|
}
|
||||||
|
viper.Set("preload", "true")
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue