Skip to content

Commit

Permalink
*: linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0rez committed Nov 21, 2024
1 parent 2984ad5 commit 9196ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion processor/deltatocumulativeprocessor/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor/internal/testing/sdktest"
)

var out consumertest.MetricsSink
var out *consumertest.MetricsSink

func BenchmarkProcessor(gb *testing.B) {
const (
Expand Down Expand Up @@ -145,6 +145,7 @@ func BenchmarkProcessor(gb *testing.B) {
for _, cs := range cases {
gb.Run(cs.name, func(b *testing.B) {
st := setup(b, nil)
out = st.sink
run(b, st.proc, cs)

// verify all dps are processed without error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ func Expect(metrics map[string]Metric) Spec {
}
metrics[name] = m
}
return Spec(metrics)
return metrics
}

0 comments on commit 9196ea5

Please sign in to comment.