( ctx context.Context, eventID string, )
| 168 | } |
| 169 | |
| 170 | func (s *contextSensitiveEventStore) GetTaskEventRecord( |
| 171 | ctx context.Context, |
| 172 | eventID string, |
| 173 | ) (EventRecord, error) { |
| 174 | s.getTaskEventRecordCanceled = append( |
| 175 | s.getTaskEventRecordCanceled, |
| 176 | ctx != nil && ctx.Err() != nil, |
| 177 | ) |
| 178 | if ctx != nil && ctx.Err() != nil { |
| 179 | return EventRecord{}, ctx.Err() |
| 180 | } |
| 181 | return s.inMemoryManagerStore.GetTaskEventRecord(ctx, eventID) |
| 182 | } |
| 183 | |
| 184 | func (s *contextSensitiveRunStore) UpdateTaskRun(ctx context.Context, run Run) error { |
| 185 | if ctx != nil && ctx.Err() != nil { |
nothing calls this directly
no test coverage detected