Skip to content

Commit

Permalink
Merge pull request #16420 from spowelljr/skipKICWait
Browse files Browse the repository at this point in the history
Only wait for KIC base image when using KIC driver
  • Loading branch information
medyagh authored May 8, 2023
2 parents 2b5e5a0 + 971899c commit 95acadc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/minikube/node/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 95acadc

Please sign in to comment.