Set --preload flag to true so that download.PreloadExists doesn't immeditely return false

pull/7262/head
Priya Wadhwa 2020-03-26 10:42:45 -07:00
parent c9c324242c
commit e293b38431
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import (
"os/exec"
"strings"
"github.com/spf13/viper"
"k8s.io/minikube/pkg/minikube/download"
"k8s.io/minikube/pkg/minikube/exit"
)
@ -45,6 +46,7 @@ func init() {
if k8sVersion != "" {
k8sVersions = append(k8sVersions, k8sVersion)
}
viper.Set("preload", "true")
}
func main() {