This commit is contained in:
mr
2025-11-20 16:30:58 +01:00
parent 7717a02f7f
commit 8bbbd1dcfb
3 changed files with 22 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ func (em *ExecutionManager) RetrieveNextExecutions() {
if exec.ExecDate.Before(time.Now().UTC()) {
logger.Info().Msg("Will execute " + execId + " soon")
go em.executeExecution(&exec)
delete(executions,execId)
delete(executions, execId)
}
}
}
@@ -60,7 +60,7 @@ func (em *ExecutionManager) executeExecution(execution *workflow_execution.Workf
}
args := executor.PrepareMonitorExec()
executor.LaunchMonitor(args,logger)
executor.LaunchMonitor(args, logger)
// if exec_method == "k8s" {
// logger.Error().Msg("TODO : executing oc-monitor in a k8s")
@@ -76,7 +76,7 @@ func (em *ExecutionManager) executeExecution(execution *workflow_execution.Workf
// ExecutionID: Execution.ExecutionsID,
// PeerID: Execution.CreatorID,
// LokiUrl: conf.GetConfig().LokiUrl,
// }
// monitor.LaunchLocalMonitor()
// }