remove extra logging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 12:04:39 +11:00
parent a81f8e044c
commit 61ac749d86

View File

@@ -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