func GetMachineFromProviderID(client *metalgo.Driver, providerID string) (*models.V1MachineResponse, error) {
	id, err := decodeMachineIDFromProviderID(providerID)
	if err != nil {
		return nil, err
	}

	return GetMachine(client, id)
}
// GetMachineFromProviderID uses providerID to get the machine id and returns the machine.
GetMachineFromProviderID uses providerID to get the machine id and returns the machine.
// GetMachineFromProviderID uses providerID to get the machine id and returns the machine .
func GetMachineFromProviderID(client *metalgo.Driver, providerID string) (*models.V1MachineResponse, error) {
	id, err := decodeMachineIDFromProviderID(providerID)
	if err != nil {
		return nil, err
	}
	return GetMachine(client, id)
}
func GetMachineFromProviderID ( client * metalgo . Driver , providerID string ) ( * models . V1MachineResponse , error ) { id , err := decodeMachineIDFromProviderID ( providerID ) if err != nil { return nil , err } return GetMachine ( client , id ) }
GetMachineFromProviderID uses providerID to get the machine id and returns the machine.
GetMachineFromProviderID uses providerID to get the machine id and returns the machine .