From 992b51cd4eee83794bfbe80ef7ac59c94d04eed4 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Fri, 6 Mar 2020 17:35:31 -0800 Subject: [PATCH] move wait function to after startMachine --- pkg/minikube/node/start.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/minikube/node/start.go b/pkg/minikube/node/start.go index ceee851afe..045471cacf 100644 --- a/pkg/minikube/node/start.go +++ b/pkg/minikube/node/start.go @@ -55,11 +55,12 @@ func Start(mc config.ClusterConfig, n config.Node, primary bool, existingAddons // exits here in case of --download-only option. handleDownloadOnly(&cacheGroup, &kicGroup, k8sVersion) waitDownloadKicArtifacts(&kicGroup) - waitCacheRequiredImages(&cacheGroup) mRunner, preExists, machineAPI, host := startMachine(&mc, &n) defer machineAPI.Close() + waitCacheRequiredImages(&cacheGroup) + // configure the runtime (docker, containerd, crio) cr := configureRuntimes(mRunner, driverName, mc.KubernetesConfig) showVersionInfo(k8sVersion, cr)