mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Return vmUUID when renewing nodeinfo in VCP
This commit is contained in:
@@ -351,7 +351,12 @@ func (nm *NodeManager) renewNodeInfo(nodeInfo *NodeInfo, reconnect bool) (*NodeI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
vm := nodeInfo.vm.RenewVM(vsphereInstance.conn.Client)
|
vm := nodeInfo.vm.RenewVM(vsphereInstance.conn.Client)
|
||||||
return &NodeInfo{vm: &vm, dataCenter: vm.Datacenter, vcServer: nodeInfo.vcServer}, nil
|
return &NodeInfo{
|
||||||
|
vm: &vm,
|
||||||
|
dataCenter: vm.Datacenter,
|
||||||
|
vcServer: nodeInfo.vcServer,
|
||||||
|
vmUUID: nodeInfo.vmUUID,
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (nodeInfo *NodeInfo) VM() *vclib.VirtualMachine {
|
func (nodeInfo *NodeInfo) VM() *vclib.VirtualMachine {
|
||||||
|
Reference in New Issue
Block a user