remove unused cluster pointer from host
This commit is contained in:
@@ -148,8 +148,6 @@ func (cluster *Cluster) RebuildNode(hostName string) error {
|
||||
}
|
||||
|
||||
cluster.Nodes[hostName] = host
|
||||
// attatch pointer to cluster to node
|
||||
cluster.Nodes[hostName].cluster = cluster
|
||||
|
||||
// get node's VMs
|
||||
vms, err := host.VirtualMachines()
|
||||
|
||||
@@ -26,7 +26,6 @@ type Node struct {
|
||||
paas.Node
|
||||
Instances map[InstanceID]*Instance `json:"instances"`
|
||||
pvenode *proxmox.Node
|
||||
cluster *Cluster // link cluster needed for instance pool sync
|
||||
}
|
||||
|
||||
type InstanceID = paas.InstanceID
|
||||
|
||||
Reference in New Issue
Block a user