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" "log"
"net/url" "net/url"
"os" "os"
"reflect"
"strings" "strings"
"time" "time"
_ "time/tzdata" _ "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 // See https://github.com/vmware/govmomi/blob/main/vim25/types/enum.go#L7538
// Sharing can be sharingNone or sharingMultiWriter // Sharing can be sharingNone or sharingMultiWriter
backing := vdisk.VirtualDevice.Backing 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 { if info, ok := backing.(*types.VirtualDiskFlatVer2BackingInfo); ok {
sharingType := info.Sharing sharingType := info.Sharing