Adding user friendly message in view command before sleeping (#239)

This commit is contained in:
Igor Gov
2021-08-19 12:22:18 +03:00
committed by GitHub
parent 83cfaed1a3
commit 6dd0ef1268

View File

@@ -40,8 +40,7 @@ func runMizuView() {
logger.Log.Infof("Found a running service %s and open port %d", mizu.ApiServerPodName, config.Config.View.GuiPort)
return
}
logger.Log.Debugf("Found service %s, creating k8s proxy", mizu.ApiServerPodName)
logger.Log.Infof("Establishing connection to k8s cluster...")
go startProxyReportErrorIfAny(kubernetesProvider, cancel)
time.Sleep(time.Second * 5) // Waiting to be sure the proxy is ready