func (i *InstancesController) InstanceShutdownByProviderID(_ context.Context, providerID string) (bool, error) {
	klog.Infof("InstanceShutdownByProviderID: providerID %q", providerID)
	machine, err := metal.GetMachineFromProviderID(i.client, providerID)
	if err != nil || machine.Allocation == nil {
		return true, err
	}
	return false, nil
}
// InstanceShutdownByProviderID returns true if the instance is shutdown in cloudprovider.
InstanceShutdownByProviderID returns true if the instance is shutdown in cloudprovider.
// InstanceShutdownByProviderID returns true if the instance is shutdown in cloudprovider .
func (i *InstancesController) InstanceShutdownByProviderID(_ context.Context, providerID string) (bool, error) {
	klog.Infof("InstanceShutdownByProviderID: providerID %q", providerID)
	machine, err := metal.GetMachineFromProviderID(i.client, providerID)
	if err != nil || machine.Allocation == nil {
		return true, err
	}
	return false, nil
}
func ( i * InstancesController ) InstanceShutdownByProviderID ( _ context . Context , providerID string ) ( bool , error ) { klog . Infof ( " " , providerID ) machine , err := metal . GetMachineFromProviderID ( i . client , providerID ) if err != nil || machine . Allocation == nil { return true , err } return false , nil }
InstanceShutdownByProviderID returns true if the instance is shutdown in cloudprovider.
InstanceShutdownByProviderID returns true if the instance is shutdown in cloudprovider .