diff --git a/main.go b/main.go index e4bd784..e65dc99 100644 --- a/main.go +++ b/main.go @@ -127,7 +127,7 @@ func main() { // Create a container view so that we can search vCenter for a VM if we found any failure events cv, _ := m.CreateContainerView(ctx, c.ServiceContent.RootFolder, []string{"VirtualMachine"}, true) - + fmt.Printf("Searching for hostfailure events\n") hostFailures := getEvents([]string{"com.vmware.vc.HA.DasHostFailedEvent"}, []types.ManagedObjectReference{}, *begin, *end) if len(hostFailures) > 0 {