From 82fb21c710d51f4e9321211dd154e77c5c0880df Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 18 Mar 2024 10:39:44 +1100 Subject: [PATCH] test --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 5cda579..7ae7d2b 100644 --- a/main.go +++ b/main.go @@ -382,6 +382,9 @@ func main() { } */ log.Printf("Based on event times there were %d possible hosts this VM was running on\n", len(possibleHosts)) + for _, hostEvent := range possibleHosts { + log.Printf("Host %s\n", hostEvent.Host.Name) + } if len(possibleHosts) == 0 { log.Printf("No ESXi outage events happened before VM %s fuzzy restart event at %s, skipping this event.\n", event.Vm.Name, fuzzyTime)