diff --git a/main.go b/main.go index f271224..0083997 100644 --- a/main.go +++ b/main.go @@ -406,8 +406,8 @@ func main() { var checkActualTime []types.Event // Search for any disconnected messages prior to actual restart time rather than fuzzy time - log.Printf("Checking host failure list based on actual VM restart time %s\n", vmRestartTime) - for _, hostEvent := range hostFailures { + log.Printf("Checking possible hosts list based on actual VM restart time %s\n", vmRestartTime) + for _, hostEvent := range possibleHosts { if hostEvent.CreatedTime.In(location).Before(vmRestartTime) || hostEvent.CreatedTime.In(location).Equal(vmRestartTime) { checkActualTime = append(checkActualTime, hostEvent) }