コード例 #1
0
ファイル: fleetctl.go プロジェクト: pquast/fleet
func machineIDLegend(ms machine.MachineState, full bool) string {
	legend := ms.ID
	if !full {
		legend = fmt.Sprintf("%s...", ms.ShortID())
	}
	return legend
}