Call POST /scripts/done after the posting the scripts to mark the end

This commit is contained in:
M. Mert Yildiran
2023-02-07 12:25:41 +03:00
parent a6dd98d241
commit 2a20dc173c
2 changed files with 22 additions and 0 deletions

View File

@@ -450,6 +450,8 @@ func postHubStarted(ctx context.Context, kubernetesProvider *kubernetes.Provider
connector.PostScript(script)
}
connector.PostScriptDone()
// Hub proxy URL
url := kubernetes.GetLocalhostOnPort(config.Config.Tap.Proxy.Hub.SrcPort)
log.Info().Str("url", url).Msg(fmt.Sprintf(utils.Green, "Hub is available at:"))