From a474780b07bd677057b3ea12ae61b520d70c9493 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Fri, 11 Oct 2024 18:30:06 +0800 Subject: [PATCH] Fix testifylint --- cmd/telemetrygen/internal/traces/exporter_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/telemetrygen/internal/traces/exporter_test.go b/cmd/telemetrygen/internal/traces/exporter_test.go index 401e4730e028..b8af7442c836 100644 --- a/cmd/telemetrygen/internal/traces/exporter_test.go +++ b/cmd/telemetrygen/internal/traces/exporter_test.go @@ -129,8 +129,8 @@ func TestHTTPExporterOptions_HTTP(t *testing.T) { err = client.UploadTraces(context.Background(), []*tracepb.ResourceSpans{}) require.NoError(t, err) assert.Equal(t, tc.expectedHTTPPath, httpPath) - for k, v := range tc.expectedHeader { - assert.Equal(t, v, []string{header.Get(k)}) + for k, expected := range tc.expectedHeader { + assert.Equal(t, expected, []string{header.Get(k)}) } }) }