(items []contract.TaskInspectEventPayload)
| 3964 | } |
| 3965 | |
| 3966 | func taskInspectEventToonRows(items []contract.TaskInspectEventPayload) [][]string { |
| 3967 | rows := make([][]string, 0, len(items)) |
| 3968 | for _, item := range items { |
| 3969 | rows = append(rows, []string{ |
| 3970 | item.ID, |
| 3971 | item.Type, |
| 3972 | item.RunID, |
| 3973 | item.Outcome, |
| 3974 | item.Summary, |
| 3975 | formatTime(item.Timestamp), |
| 3976 | }) |
| 3977 | } |
| 3978 | return rows |
| 3979 | } |
| 3980 | |
| 3981 | func taskInspectCurrentRunID(run *contract.TaskInspectRunPayload) string { |
| 3982 | if run == nil { |
no test coverage detected