Connecting Mizu to the application (#313)

This commit is contained in:
RoyUP9
2021-10-05 16:35:16 +03:00
committed by GitHub
parent 30fce5d765
commit d2d4ed5aee
15 changed files with 286 additions and 35 deletions

View File

@@ -585,7 +585,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)