Connecting Mizu to the application (#317)

This commit is contained in:
RoyUP9
2021-10-07 17:28:28 +03:00
committed by GitHub
parent 82d603c0fd
commit 14b616a856
15 changed files with 286 additions and 35 deletions

View File

@@ -578,7 +578,7 @@ func watchApiServerPod(ctx context.Context, kubernetesProvider *kubernetes.Provi
}
logger.Log.Infof("Mizu is available at %s\n", url)
openBrowser(url)
uiUtils.OpenBrowser(url)
requestForAnalysisIfNeeded()
if err := apiserver.Provider.ReportTappedPods(state.currentlyTappedPods); err != nil {
logger.Log.Debugf("[Error] failed update tapped pods %v", err)