remove unused cluster pointer from host

This commit is contained in:
2026-05-29 22:02:50 +00:00
parent a9d55673c7
commit 606277e127
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -148,8 +148,6 @@ func (cluster *Cluster) RebuildNode(hostName string) error {
} }
cluster.Nodes[hostName] = host cluster.Nodes[hostName] = host
// attatch pointer to cluster to node
cluster.Nodes[hostName].cluster = cluster
// get node's VMs // get node's VMs
vms, err := host.VirtualMachines() vms, err := host.VirtualMachines()
-1
View File
@@ -26,7 +26,6 @@ type Node struct {
paas.Node paas.Node
Instances map[InstanceID]*Instance `json:"instances"` Instances map[InstanceID]*Instance `json:"instances"`
pvenode *proxmox.Node pvenode *proxmox.Node
cluster *Cluster // link cluster needed for instance pool sync
} }
type InstanceID = paas.InstanceID type InstanceID = paas.InstanceID