From 971899cb02049dd9b1bcd3659c34c3792086b69a Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 2 May 2023 15:24:28 -0700 Subject: [PATCH] only wait for KIC base image when using KIC driver --- pkg/minikube/node/cache.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/minikube/node/cache.go b/pkg/minikube/node/cache.go index 742a00e50d59..9deb004009e7 100644 --- a/pkg/minikube/node/cache.go +++ b/pkg/minikube/node/cache.go @@ -87,7 +87,9 @@ func handleDownloadOnly(cacheGroup, kicGroup *errgroup.Group, k8sVersion, contai exit.Error(reason.InetCacheKubectl, "Failed to cache kubectl", err) } waitCacheRequiredImages(cacheGroup) - waitDownloadKicBaseImage(kicGroup) + if driver.IsKIC(driverName) { + waitDownloadKicBaseImage(kicGroup) + } if err := saveImagesToTarFromConfig(); err != nil { exit.Error(reason.InetCacheTar, "Failed to cache images to tar", err) }