From 106eb7d1bb6d4fed45c5624d5b147fa11060d88b Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 8 Apr 2024 15:50:47 +1000 Subject: [PATCH] test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b47a5d2..96dfb73 100644 --- a/main.go +++ b/main.go @@ -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 }