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

	return *machine.ID, nil
}
// InstanceID returns the cloud provider ID of the node with the specified NodeName.
// Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound).
InstanceID returns the cloud provider ID of the node with the specified NodeName.
Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound).
// InstanceID returns the cloud provider ID of the node with the specified NodeName . // Note that if the instance does not exist or is no longer running we must return ( " " cloudprovider . InstanceNotFound ) .
func (i *InstancesController) InstanceID(_ context.Context, nodeName types.NodeName) (string, error) {
	klog.Infof("InstanceID: nodeName %q", nodeName)
	machine, err := metal.GetMachineFromNode(i.client, nodeName)
	if err != nil {
		return "", err
	}
	return *machine.ID, nil
}
func ( i * InstancesController ) InstanceID ( _ context . Context , nodeName types . NodeName ) ( string , error ) { klog . Infof ( " " , nodeName ) machine , err := metal . GetMachineFromNode ( i . client , nodeName ) if err != nil { return " " , err } return * machine . ID , nil }
InstanceID returns the cloud provider ID of the node with the specified NodeName.
InstanceID returns the cloud provider ID of the node with the specified NodeName .