(wg *sync.WaitGroup, results *auditAnalysisResults, runOutputDir string, verbose bool, workflowPath string)
| 645 | } |
| 646 | |
| 647 | func launchMetricsAnalysis(wg *sync.WaitGroup, results *auditAnalysisResults, runOutputDir string, verbose bool, workflowPath string) { |
| 648 | wg.Go(func() { |
| 649 | metrics, err := extractLogMetrics(runOutputDir, verbose, workflowPath) |
| 650 | if err != nil { |
| 651 | if verbose { |
| 652 | fmt.Fprintln(os.Stderr, console.FormatWarningMessage(fmt.Sprintf("Failed to extract metrics: %v", err))) |
| 653 | } |
| 654 | results.metrics = LogMetrics{} |
| 655 | return |
| 656 | } |
| 657 | results.metrics = metrics |
| 658 | }) |
| 659 | } |
| 660 | |
| 661 | func launchJobDetailsAnalysis(wg *sync.WaitGroup, results *auditAnalysisResults, runID int64, verbose bool) { |
| 662 | wg.Go(func() { |
no test coverage detected