func (i *InstancesController) NodeAddressesByProviderID(_ context.Context, providerID string) ([]v1.NodeAddress, error) {
	klog.Infof("NodeAddressesByProviderID: providerID %q", providerID)
	machine, err := metal.GetMachineFromProviderID(i.client, providerID)
	if err != nil {
		return nil, err
	}

	return nodeAddresses(machine, i.defaultExternalNetwork)
}
// NodeAddressesByProviderID returns the addresses of the specified instance.
// The instance is specified using the providerID of the node. The
// ProviderID is a unique identifier of the node. This will not be called
// from the node whose node addresses are being queried. m.e. local metadata
// services cannot be used in this method to obtain node addresses.
NodeAddressesByProviderID returns the addresses of the specified instance.
The instance is specified using the providerID of the node. The
ProviderID is a unique identifier of the node. This will not be called
from the node whose node addresses are being queried. m.e. local metadata
services cannot be used in this method to obtain node addresses.
// NodeAddressesByProviderID returns the addresses of the specified instance . // The instance is specified using the providerID of the node . The // ProviderID is a unique identifier of the node . This will not be called // from the node whose node addresses are being queried . m . e . local metadata // services cannot be used in this method to obtain node addresses .
func (i *InstancesController) NodeAddressesByProviderID(_ context.Context, providerID string) ([]v1.NodeAddress, error) {
	klog.Infof("NodeAddressesByProviderID: providerID %q", providerID)
	machine, err := metal.GetMachineFromProviderID(i.client, providerID)
	if err != nil {
		return nil, err
	}
	return nodeAddresses(machine, i.defaultExternalNetwork)
}
func ( i * InstancesController ) NodeAddressesByProviderID ( _ context . Context , providerID string ) ( [ ] v1 . NodeAddress , error ) { klog . Infof ( " " , providerID ) machine , err := metal . GetMachineFromProviderID ( i . client , providerID ) if err != nil { return nil , err } return nodeAddresses ( machine , i . defaultExternalNetwork ) }
NodeAddressesByProviderID returns the addresses of the specified instance.
NodeAddressesByProviderID returns the addresses of the specified instance .