From 966c3db2aa1b8995af072810198446cc46986970 Mon Sep 17 00:00:00 2001 From: James Luck Date: Sat, 7 Dec 2024 15:36:14 +1100 Subject: [PATCH] Fixing `make lint` errors --- processor/tailsamplingprocessor/internal/sampling/util_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/processor/tailsamplingprocessor/internal/sampling/util_test.go b/processor/tailsamplingprocessor/internal/sampling/util_test.go index 016e3da44644..270336fad5c1 100644 --- a/processor/tailsamplingprocessor/internal/sampling/util_test.go +++ b/processor/tailsamplingprocessor/internal/sampling/util_test.go @@ -11,7 +11,7 @@ import ( "go.opentelemetry.io/collector/pdata/ptrace" ) -func TestSetAttrOnScopeSpans_Empty(t *testing.T) { +func TestSetAttrOnScopeSpans_Empty(_ *testing.T) { traces := ptrace.NewTraces() traceData := &TraceData{ ReceivedBatches: traces, @@ -61,7 +61,6 @@ func TestSetAttrOnScopeSpans_Many(t *testing.T) { func BenchmarkSetAttrOnScopeSpans(b *testing.B) { for n := 0; n < b.N; n++ { - traces := ptrace.NewTraces() for i := 0; i < 5; i++ {