From 61ac749d86e20fe9b911493c20ba08e24881936d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 Oct 2023 12:04:39 +1100 Subject: [PATCH] remove extra logging --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 2d16bbd..741bf95 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,6 @@ import ( "log" "net/url" "os" - "reflect" "strings" "time" _ "time/tzdata" @@ -174,7 +173,7 @@ func processVMs(client *govmomi.Client) error { // See https://github.com/vmware/govmomi/blob/main/vim25/types/enum.go#L7538 // Sharing can be sharingNone or sharingMultiWriter backing := vdisk.VirtualDevice.Backing - fmt.Println("Type of backing:", reflect.TypeOf(backing)) + //fmt.Println("Type of backing:", reflect.TypeOf(backing)) if info, ok := backing.(*types.VirtualDiskFlatVer2BackingInfo); ok { sharingType := info.Sharing