(run taskpkg.Run)
| 864 | } |
| 865 | |
| 866 | func taskRunSessionChannel(run taskpkg.Run) string { |
| 867 | if channel := strings.TrimSpace(run.CoordinationChannelID); channel != "" { |
| 868 | return channel |
| 869 | } |
| 870 | return strings.TrimSpace(run.NetworkChannel) |
| 871 | } |
| 872 | |
| 873 | func taskStopCause(reason taskpkg.StopReason) session.StopCause { |
| 874 | switch reason.Normalize() { |
no outgoing calls
no test coverage detected