From f6fd06a1b7ed0083a8cbea812ec1ef1967f3f008 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 Oct 2023 12:20:45 +1100 Subject: [PATCH] reduce debugging output --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 8aaf5de..56bdf90 100644 --- a/main.go +++ b/main.go @@ -109,7 +109,7 @@ func processVMs(client *govmomi.Client) error { // Iterate through VMs and check for SCSI bus sharing for _, vm := range vmList { - fmt.Printf("vm : %s [%s]\n", vm.Name, vm.Summary.Runtime.Host) + //fmt.Printf("vm : %s [%s]\n", vm.Name, vm.Summary.Runtime.Host) //fmt.Printf("vm parent: %v\n", vm.Parent) /* @@ -144,7 +144,7 @@ func processVMs(client *govmomi.Client) error { if vm.Config != nil && len(vm.Config.Hardware.Device) > 0 { for _, device := range vm.Config.Hardware.Device { - fmt.Printf("device: %v\n", device) + //fmt.Printf("device: %v\n", device) //fmt.Println("Type of variable1:", reflect.TypeOf(device)) if scsi, ok := device.(types.BaseVirtualSCSIController); ok { //fmt.Printf("scsi: %v\n", scsi) @@ -324,7 +324,7 @@ func updateConfluenceBusSharing(api *goconfluence.API, vCenterHostname string, p Key: spaceKey, }, } - fmt.Printf("confluence object : '%v'\n", data) + //fmt.Printf("confluence object : '%v'\n", data) result, err := api.UpdateContent(data) if err != nil { @@ -372,7 +372,7 @@ func updateConfluenceMultiWriter(api *goconfluence.API, vCenterHostname string, Key: spaceKey, }, } - fmt.Printf("confluence object : '%v'\n", data) + //fmt.Printf("confluence object : '%v'\n", data) result, err := api.UpdateContent(data) if err != nil {