(run *contract.TaskInspectRunPayload)
| 3865 | } |
| 3866 | |
| 3867 | func taskInspectRunSectionRows(run *contract.TaskInspectRunPayload) []keyValue { |
| 3868 | return []keyValue{ |
| 3869 | {Label: taskRunValue, Value: stringOrDash(run.RunID)}, |
| 3870 | {Label: taskTaskValue, Value: stringOrDash(run.TaskID)}, |
| 3871 | {Label: taskStatusValue, Value: stringOrDash(string(run.Status))}, |
| 3872 | {Label: taskAttemptValue, Value: intOrDash(run.Attempt)}, |
| 3873 | {Label: taskSessionValue, Value: stringOrDash(run.BoundSessionID)}, |
| 3874 | {Label: "Claim Hash", Value: stringOrDash(run.ClaimTokenHashTruncated)}, |
| 3875 | {Label: "Lease Until", Value: stringOrDash(formatTimePtr(run.LeaseUntil))}, |
| 3876 | { |
| 3877 | Label: "Heartbeat Age", |
| 3878 | Value: stringOrDash(taskInspectHeartbeatAge(run.HeartbeatAgeSeconds)), |
| 3879 | }, |
| 3880 | {Label: taskErrorValue, Value: stringOrDash(run.LastErrorSummary)}, |
| 3881 | } |
| 3882 | } |
| 3883 | |
| 3884 | func taskInspectSessionRows(session *contract.TaskInspectSessionPayload) []keyValue { |
| 3885 | return []keyValue{ |
no test coverage detected