Skip to content

Commit

Permalink
minor bug in cumulativetodeltaprocessor test
Browse files Browse the repository at this point in the history
  • Loading branch information
pitr authored Jul 28, 2024
1 parent 9128a92 commit 0941fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/cumulativetodeltaprocessor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ func generateTestHistogramMetrics(tm testHistogramMetric) pmetric.Metrics {
if tm.metricMins != nil {
mins := tm.metricMins[i]
if len(mins) > 0 {
dp.SetMin(sums[index])
dp.SetMin(mins[index])
}
}
if tm.metricMaxes != nil {
Expand Down

0 comments on commit 0941fca

Please sign in to comment.