Hostname returns the mac address formatted as a string suitable for hostname
()
| 31 | |
| 32 | // Hostname returns the mac address formatted as a string suitable for hostname |
| 33 | func (m *etcdMachineInterface) Hostname() string { |
| 34 | return strings.Replace(m.mac.String(), ":", "", -1) |
| 35 | } |
| 36 | |
| 37 | // Machine creates a record for the associated mac if needed |
| 38 | // and asked for, and returns a Machine with the stored values. |
no test coverage detected