(ctx context.Context)
| 165 | } |
| 166 | |
| 167 | func taskRunObservationHookContext(ctx context.Context) context.Context { |
| 168 | if ctx == nil { |
| 169 | return context.TODO() |
| 170 | } |
| 171 | return context.WithoutCancel(ctx) |
| 172 | } |
| 173 | |
| 174 | func taskRunLifecycleContext(ctx context.Context) context.Context { |
| 175 | if ctx == nil { |
no outgoing calls
no test coverage detected