From 8afe879c56b56658526dea5d9b20e1e33634f7b6 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Wed, 25 Mar 2020 10:09:22 -0700 Subject: [PATCH] remove unnecessary check; we check this when cr.Preload is called --- pkg/minikube/node/start.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/minikube/node/start.go b/pkg/minikube/node/start.go index 9e90bc747f..5f7b131a6e 100644 --- a/pkg/minikube/node/start.go +++ b/pkg/minikube/node/start.go @@ -42,7 +42,6 @@ import ( "k8s.io/minikube/pkg/minikube/config" "k8s.io/minikube/pkg/minikube/constants" "k8s.io/minikube/pkg/minikube/cruntime" - "k8s.io/minikube/pkg/minikube/download" "k8s.io/minikube/pkg/minikube/driver" "k8s.io/minikube/pkg/minikube/exit" "k8s.io/minikube/pkg/minikube/kubeconfig" @@ -198,7 +197,7 @@ func configureRuntimes(runner cruntime.CommandRunner, drvName string, k8s config } // Preload is overly invasive for bare metal, and caching is not meaningful. KIC handled elsewhere. - if driver.IsVM(drvName) && download.PreloadExists(k8s.KubernetesVersion, k8s.ContainerRuntime) { + if driver.IsVM(drvName) { if err := cr.Preload(k8s); err != nil { switch err.(type) { case *cruntime.ErrISOFeature: