func GetMachine(client *metalgo.Driver, id string) (*models.V1MachineResponse, error) {
	// if strings.HasPrefix(id, "kind-worker") {
	// 	return getTestMachine(client)
	// }

	machine, err := client.MachineGet(id)
	if err != nil {
		return nil, err
	}

	return machine.Machine, nil
}
// GetMachine returns a metal machine by its ID.
GetMachine returns a metal machine by its ID.
// GetMachine returns a metal machine by its ID .
func GetMachine(client *metalgo.Driver, id string) (*models.V1MachineResponse, error) {
	machine, err := client.MachineGet(id)
	if err != nil {
		return nil, err
	}
	return machine.Machine, nil
}
func GetMachine ( client * metalgo . Driver , id string ) ( * models . V1MachineResponse , error ) { machine , err := client . MachineGet ( id ) if err != nil { return nil , err } return machine . Machine , nil }
GetMachine returns a metal machine by its ID.
GetMachine returns a metal machine by its ID .
// if strings.HasPrefix(id, "kind-worker") { // 	return getTestMachine(client) // }