mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-23 02:48:56 +00:00
Adding user friendly message in view command before sleeping (#239)
This commit is contained in:
parent
83cfaed1a3
commit
6dd0ef1268
@ -40,8 +40,7 @@ func runMizuView() {
|
|||||||
logger.Log.Infof("Found a running service %s and open port %d", mizu.ApiServerPodName, config.Config.View.GuiPort)
|
logger.Log.Infof("Found a running service %s and open port %d", mizu.ApiServerPodName, config.Config.View.GuiPort)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
logger.Log.Debugf("Found service %s, creating k8s proxy", mizu.ApiServerPodName)
|
logger.Log.Infof("Establishing connection to k8s cluster...")
|
||||||
|
|
||||||
go startProxyReportErrorIfAny(kubernetesProvider, cancel)
|
go startProxyReportErrorIfAny(kubernetesProvider, cancel)
|
||||||
|
|
||||||
time.Sleep(time.Second * 5) // Waiting to be sure the proxy is ready
|
time.Sleep(time.Second * 5) // Waiting to be sure the proxy is ready
|
||||||
|
Loading…
Reference in New Issue
Block a user