delete debug print functions

This commit is contained in:
2025-04-07 19:55:46 +00:00
parent 2265a8e580
commit 6a1d13538d

View File

@@ -1,7 +1,6 @@
package app
import (
"fmt"
"sync"
"github.com/luthermonson/go-proxmox"
@@ -89,24 +88,3 @@ type Function struct {
VendorName string `json:"subsystem_vendor_name"`
Reserved bool `json:"reserved"`
}
func (cluster *Cluster) String() string {
s := "cluster:\n"
for _, node := range cluster.Nodes {
s += fmt.Sprintf("\t%s", node)
}
return s
}
func (node *Node) String() string {
s := fmt.Sprintf("%s:\n", node.Name)
for vmid, instance := range node.Instances {
s += fmt.Sprintf("\t\t%d:%s\n", vmid, instance)
}
return s
}
func (instance *Instance) String() string {
s := fmt.Sprintf("%s", instance.Name)
return s
}