Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed Jun 15, 2023
1 parent 8f7ef96 commit c9dd7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ func (c *Controller) garbageCollectMeasurements(run *v1alpha1.AnalysisRun, measu

resolvedArgsMetric, err := getResolvedMetricsWithoutSecrets(run.Spec.Metrics, run.Spec.Args)
if err != nil {
return fmt.Errorf("failed to resolve args on metric during garbage collection: %w", err)
return fmt.Errorf("failed to resolve args on metrics during garbage collection: %w", err)
}

metricsByName := make(map[string]v1alpha1.Metric)
Expand Down

0 comments on commit c9dd7ea

Please sign in to comment.