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

This commit is contained in:
2024-04-08 15:45:09 +10:00
parent 2f80601a40
commit da8742ea64

View File

@@ -329,6 +329,7 @@ func main() {
// Get a reference to the cluster mentioned // Get a reference to the cluster mentioned
cluster := getCluster((event.ComputeResource.Name)) cluster := getCluster((event.ComputeResource.Name))
vm := getVmInCluster(event.Vm.Name, cluster.Reference()) vm := getVmInCluster(event.Vm.Name, cluster.Reference())
log.Printf("VM: '%+v'\n", vm)
//vm := getVM(event.Vm.Name) //vm := getVM(event.Vm.Name)
// If we couldn't find the vm then skip this event // If we couldn't find the vm then skip this event