Skip to content

Commit

Permalink
minor bug in cumulativetodeltaprocessor test (#34282)
Browse files Browse the repository at this point in the history
**Description:** fixing a typo in cumulativetodeltaprocessor test code

**Link to tracking Issue:** N/A

**Testing:** N/A

**Documentation:** None

(feel free to incorporate it into another PR and reject this)
  • Loading branch information
pitr authored Jul 29, 2024
1 parent 2ae66fe commit 1d31bc9
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 1d31bc9

Please sign in to comment.