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

This commit is contained in:
2024-04-08 15:50:47 +10:00
parent da8742ea64
commit 106eb7d1bb

View File

@@ -333,7 +333,7 @@ func main() {
//vm := getVM(event.Vm.Name)
// If we couldn't find the vm then skip this event
if len(vm.Reference().String()) == 0 {
if len(vm.ExtensibleManagedObject.Self.Value) == 0 {
log.Printf("No VM matching string '%s' found in cluster '%s'\n", event.Vm.Name, cluster.Reference())
continue
}