diff --git a/cmd/minikube/cmd/service.go b/cmd/minikube/cmd/service.go index de0205fbcc2c75f33d3aa121d02647c4ace25867..0290506973dfb466f0e2bd08c88626073f046c09 100644 --- a/cmd/minikube/cmd/service.go +++ b/cmd/minikube/cmd/service.go @@ -146,6 +146,7 @@ func startKicServiceTunnel(svc, configName string) { service.PrintServiceList(os.Stdout, data) openURLs(svc, urls) + out.T(out.WarningType, "Because you are using docker driver on Mac, the terminal needs to be open to run it.") <-ctrlC @@ -173,8 +174,5 @@ func openURLs(svc string, urls []string) { if err := browser.OpenURL(u); err != nil { exit.WithError(fmt.Sprintf("open url failed: %s", u), err) } - - out.T(out.WarningType, "Because you are using docker driver on Mac, the terminal needs to be open to run it.") } - }