mirror of
https://github.com/Luzifer/elb-instance-status.git
synced 2024-12-23 03:11:20 +00:00
parent
4f82c63205
commit
884fc04ef0
1 changed files with 4 additions and 0 deletions
4
main.go
4
main.go
|
@ -177,6 +177,10 @@ func executeAndRegisterCheck(ctx context.Context, checkID string) {
|
||||||
checkResults[checkID].Streak = 1
|
checkResults[checkID].Streak = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !success {
|
||||||
|
log.Printf("Check %q failed, streak now at %d, error was: %s", checkID, checkResults[checkID].Streak, err)
|
||||||
|
}
|
||||||
|
|
||||||
lastResultRegistered = time.Now()
|
lastResultRegistered = time.Now()
|
||||||
|
|
||||||
if success {
|
if success {
|
||||||
|
|
Loading…
Reference in a new issue