From 5ff0d501e668b5fcbae2e35abfbd6e695540505a Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sat, 18 Jan 2025 14:17:41 -0400 Subject: [PATCH] Update cmd/collector/app/span_processor_test.go Signed-off-by: Yuri Shkuro --- cmd/collector/app/span_processor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/collector/app/span_processor_test.go b/cmd/collector/app/span_processor_test.go index 19258654f46..41d9c7a0ac3 100644 --- a/cmd/collector/app/span_processor_test.go +++ b/cmd/collector/app/span_processor_test.go @@ -848,7 +848,7 @@ func TestOTLPReceiverWithV2Storage(t *testing.T) { span := sSpans.Spans().AppendEmpty() span.SetName("test-trace") - receivedTraces := atomic.Pointer[ptrace.Traces]{} + var receivedTraces atomic.Pointer[ptrace.Traces] mockWriter.On("WriteTraces", mock.Anything, mock.Anything). Run(func(args mock.Arguments) { storeTrace := args.Get(1).(ptrace.Traces)