Corrected how some parameters were passed to log the right ressources

This commit is contained in:
pb
2025-05-15 12:05:52 +02:00
parent f3e84a4f43
commit 03675d09ae
4 changed files with 10 additions and 9 deletions

View File

@@ -134,12 +134,12 @@ func executeInside(execID string, ns string, argo_file_path string) {
logger.Info().Msg(fmt.Sprint("Data :" + conf.GetConfig().KubeData))
return
} else {
watcher, err := t.GetArgoWatch(execID, workflowName)
watcher, err := t.GetArgoWatch(ns, workflowName)
if err != nil {
logger.Error().Msg("Could not retrieve Watcher : " + err.Error())
}
l.LogKubernetesArgo(name, execID, watcher)
l.LogKubernetesArgo(name, ns, watcher)
if err != nil {
logger.Error().Msg("Could not log workflow : " + err.Error())
}