Skip to content

Commit

Permalink
fix: yash's suggestions to comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Jan 29, 2025
1 parent 90dfb1d commit 9739724
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions health.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/json"
"errors"
"fmt"
"io"
// "io"
"io/ioutil"
"log"
"net/http"
Expand Down Expand Up @@ -1093,12 +1093,14 @@ func RunOpsWorkflow(apiKey string, orgId string, cloudRunUrl string) (WorkflowHe

if executionResults.Status == "FINISHED" {
log.Printf("[DEBUG] Workflow Health exeution is finished, checking it's results")
for _, r := range executionResults.Results {
if r.Status != "SUCCESS" {
workflowHealth.RunStatus = "FAILED"
break
}
}

// yash asked to comment these out
// for _, r := range executionResults.Results {
// if r.Status != "SUCCESS" {
// workflowHealth.RunStatus = "FAILED"
// break
// }
// }
}


Expand Down

0 comments on commit 9739724

Please sign in to comment.