This commit is contained in:
3
main.go
3
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)
|
||||
|
Reference in New Issue
Block a user