We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924e8e1 commit d8f0bdfCopy full SHA for d8f0bdf
main.go
@@ -72,7 +72,7 @@ func (a *AppState) performHttpCheck(check *HttpCheck) error {
72
73
var tries uint = 0
74
for {
75
- if tries >= check.retries {
+ if check.retries > 0 && tries >= check.retries {
76
a.l.Error().Msgf("halting check with max retries reached: %d", check.retries)
77
return nil
78
}
0 commit comments