func (i *InstancesController) InstanceType(_ context.Context, nodeName types.NodeName) (string, error) {
	klog.Infof("InstanceType: nodeName %q", nodeName)
	machine, err := metal.GetMachineFromNode(i.client, nodeName)
	if err != nil {
		return "", err
	}

	return *machine.Size.ID, nil
}
// InstanceType returns the type of the specified instance.
InstanceType returns the type of the specified instance.
// InstanceType returns the type of the specified instance .
func (i *InstancesController) InstanceType(_ context.Context, nodeName types.NodeName) (string, error) {
	klog.Infof("InstanceType: nodeName %q", nodeName)
	machine, err := metal.GetMachineFromNode(i.client, nodeName)
	if err != nil {
		return "", err
	}
	return *machine.Size.ID, nil
}
func ( i * InstancesController ) InstanceType ( _ context . Context , nodeName types . NodeName ) ( string , error ) { klog . Infof ( " " , nodeName ) machine , err := metal . GetMachineFromNode ( i . client , nodeName ) if err != nil { return " " , err } return * machine . Size . ID , nil }
InstanceType returns the type of the specified instance.
InstanceType returns the type of the specified instance .