(context.Context)
| 262 | } |
| 263 | |
| 264 | func (e *daemonMemoryExtractor) ListFailures(context.Context) ([]contract.MemoryExtractorFailurePayload, error) { |
| 265 | if e == nil { |
| 266 | return []contract.MemoryExtractorFailurePayload{}, nil |
| 267 | } |
| 268 | failures, err := e.loadFailures() |
| 269 | if err != nil { |
| 270 | return nil, err |
| 271 | } |
| 272 | payloads := make([]contract.MemoryExtractorFailurePayload, 0, len(failures)) |
| 273 | for _, failure := range failures { |
| 274 | payloads = append(payloads, failure.Payload) |
| 275 | } |
| 276 | return payloads, nil |
| 277 | } |
| 278 | |
| 279 | func (e *daemonMemoryExtractor) Retry( |
| 280 | ctx context.Context, |
nothing calls this directly
no test coverage detected