Skip to content

Commit 9739724

Browse files
committed
fix: yash's suggestions to comment out
1 parent 90dfb1d commit 9739724

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

health.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"encoding/json"
88
"errors"
99
"fmt"
10-
"io"
10+
// "io"
1111
"io/ioutil"
1212
"log"
1313
"net/http"
@@ -1093,12 +1093,14 @@ func RunOpsWorkflow(apiKey string, orgId string, cloudRunUrl string) (WorkflowHe
10931093

10941094
if executionResults.Status == "FINISHED" {
10951095
log.Printf("[DEBUG] Workflow Health exeution is finished, checking it's results")
1096-
for _, r := range executionResults.Results {
1097-
if r.Status != "SUCCESS" {
1098-
workflowHealth.RunStatus = "FAILED"
1099-
break
1100-
}
1101-
}
1096+
1097+
// yash asked to comment these out
1098+
// for _, r := range executionResults.Results {
1099+
// if r.Status != "SUCCESS" {
1100+
// workflowHealth.RunStatus = "FAILED"
1101+
// break
1102+
// }
1103+
// }
11021104
}
11031105

11041106

0 commit comments

Comments
 (0)