This commit is contained in:
2
main.go
2
main.go
@@ -300,7 +300,7 @@ func main() {
|
|||||||
haUnreachableEvents = append(haUnreachableEvents, h)
|
haUnreachableEvents = append(haUnreachableEvents, h)
|
||||||
log.Printf("Recording host %s unreachable HA status event at %s\n", h.Host.Name, h.CreatedTime.In(location).Format(time.ANSIC))
|
log.Printf("Recording host %s unreachable HA status event at %s\n", h.Host.Name, h.CreatedTime.In(location).Format(time.ANSIC))
|
||||||
} else {
|
} else {
|
||||||
log.Printf("Host %s HA failure time at %s was before %s or after %s\n", h.Host.Name, haFailedTime.Format(time.ANSIC),
|
log.Printf("Host %s HA failure time at %s was before %s or after %s, excluding this ha unreachable event\n", h.Host.Name, haFailedTime.Format(time.ANSIC),
|
||||||
unreachableStartComparison, unreachableEndComparison)
|
unreachableStartComparison, unreachableEndComparison)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user