remove test prints

This commit is contained in:
pb 2024-08-08 10:12:29 +02:00
parent 1871e067df
commit 1e56094d24

View File

@ -181,7 +181,6 @@ func logWorkflow(pipe io.ReadCloser, wg *sync.WaitGroup) {
if(strings.HasPrefix(log, "Progress:")){ if(strings.HasPrefix(log, "Progress:")){
current_watch = *models.NewArgoLogs(watch_output) current_watch = *models.NewArgoLogs(watch_output)
fmt.Println("Status : " + current_watch.Status)
workflowName = current_watch.Name workflowName = current_watch.Name
if(!current_watch.Equals(previous_watch)){ if(!current_watch.Equals(previous_watch)){
wg.Add(1) wg.Add(1)
@ -205,7 +204,6 @@ func logPods(pipe io.ReadCloser,name string){
scanner := bufio.NewScanner(pipe) scanner := bufio.NewScanner(pipe)
for scanner.Scan() { for scanner.Scan() {
log := scanner.Text() log := scanner.Text()
// fmt.Println(log)
pods_logger.Info().Msg(log) pods_logger.Info().Msg(log)
} }