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 50b8156 commit 8f7ef96
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 metrics during garbage collection: %w", err)
return fmt.Errorf("failed to resolve args on metric during garbage collection: %w", err)
}

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

0 comments on commit 8f7ef96

Please sign in to comment.