kic: Fix service warn message on docker/osx

pull/6867/head
Jose Donizetti 2020-03-03 10:03:52 -03:00
parent b8941d4f9e
commit f679db1d09
1 changed files with 1 additions and 3 deletions

View File

@ -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.")
}
}