(opts auditJobRunOptions, jobLogContent string)
| 990 | } |
| 991 | |
| 992 | func extractAuditJobDetails(opts auditJobRunOptions, jobLogContent string) error { |
| 993 | if opts.stepNumber > 0 { |
| 994 | return extractRequestedStepOutput(opts, jobLogContent) |
| 995 | } |
| 996 | return extractFirstFailingStepOutput(opts, jobLogContent) |
| 997 | } |
| 998 | |
| 999 | func extractRequestedStepOutput(opts auditJobRunOptions, jobLogContent string) error { |
| 1000 | stepOutput, err := extractStepOutput(jobLogContent, opts.stepNumber) |
no test coverage detected