test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-18 10:39:44 +11:00
parent fd23121a7c
commit 82fb21c710

View File

@@ -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)) 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 { 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) log.Printf("No ESXi outage events happened before VM %s fuzzy restart event at %s, skipping this event.\n", event.Vm.Name, fuzzyTime)