mirror of
https://github.com/Luzifer/elb-instance-status.git
synced 2024-12-22 19:01:19 +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
|
||||
}
|
||||
|
||||
if !success {
|
||||
log.Printf("Check %q failed, streak now at %d, error was: %s", checkID, checkResults[checkID].Streak, err)
|
||||
}
|
||||
|
||||
lastResultRegistered = time.Now()
|
||||
|
||||
if success {
|
||||
|
|
Loading…
Reference in a new issue