func machineBootIDLegend(ms machine.MachineState, full bool) string { legend := ms.BootID if !full { legend = fmt.Sprintf("%s...", ms.ShortBootID()) } return legend }