reduce debugging output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 12:20:45 +11:00
parent 1258a895cc
commit f6fd06a1b7

View File

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