add instead of subtract
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
2
main.go
2
main.go
@@ -280,7 +280,7 @@ func main() {
|
||||
vmRestartTime := event.CreatedTime.In(location)
|
||||
|
||||
// Sometimes host HA events can come through a few minutes after a VM restart event, so create a "fuzzy" starting time to search for host HA events
|
||||
fuzzyTime := vmRestartTime.Add(-5 * time.Minute)
|
||||
fuzzyTime := vmRestartTime.Add(5 * time.Minute)
|
||||
log.Printf("Failure event for VM '%s' restarted in cluster '%s'\n", event.Vm.Name, event.ComputeResource.Name)
|
||||
|
||||
// Get a reference to the cluster mentioned
|
||||
|
Reference in New Issue
Block a user