diff --git a/pkg/minikube/download/image.go b/pkg/minikube/download/image.go index 0346834c88..ee17a020a6 100644 --- a/pkg/minikube/download/image.go +++ b/pkg/minikube/download/image.go @@ -289,6 +289,7 @@ func ImageToDaemon(img string) error { errchan <- err }() var update v1.Update +loop: for { select { case update = <-c: @@ -299,7 +300,7 @@ func ImageToDaemon(img string) error { if err != nil { return errors.Wrap(err, "writing daemon image") } - break + break loop } } klog.V(3).Infof("Pulling image %v", ref)