From c395cc79d29a4e134316d57d976d7e8397fd3eb6 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 Oct 2023 12:23:42 +1100 Subject: [PATCH] missed one --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 56bdf90..c76bb9c 100644 --- a/main.go +++ b/main.go @@ -127,7 +127,7 @@ func processVMs(client *govmomi.Client) error { // Determine cluster based on runtime host of VM based on https://github.com/vmware/govmomi/issues/1242#issuecomment-427671990 for _, host := range hsList { if host.Reference() == *vm.Summary.Runtime.Host { - fmt.Printf("host %s matches, host parent %s\n", host.Name, host.Parent) + //fmt.Printf("host %s matches, host parent %s\n", host.Name, host.Parent) var cluster mo.ManagedEntity err = pc.RetrieveOne(ctx, *host.Parent, []string{"name"}, &cluster)