This commit is contained in:
mr
2024-10-15 11:18:40 +02:00
parent 04a157ba64
commit c3d553068c
4 changed files with 28 additions and 9 deletions

View File

@@ -35,6 +35,7 @@ func (lm *LocalMonitor) execLocalKube() {
args = append(args, "-t", fmt.Sprintf("%d", lm.Duration))
}
cmd := exec.Command(conf.GetConfig().MonitorPath, args...)
fmt.Printf("Command : %v\n", cmd)
err := cmd.Start()
if err != nil {
lm.Logger.Error().Msg("Could not start oc-monitor for " + lm.ExecutionID + " : " + err.Error())