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

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