From b38c24c54596137c41e4c2b578fbb77178c0b2d8 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 30 Sep 2024 12:36:59 +0200 Subject: [PATCH] lint --- modules/generator/registry/native_histogram_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generator/registry/native_histogram_test.go b/modules/generator/registry/native_histogram_test.go index 8388d34a216..a740a174753 100644 --- a/modules/generator/registry/native_histogram_test.go +++ b/modules/generator/registry/native_histogram_test.go @@ -453,7 +453,7 @@ func Test_Histograms(t *testing.T) { for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { t.Run("classic", func(t *testing.T) { - onAdd := func(count uint32) bool { return true } + onAdd := func(uint32) bool { return true } h := newHistogram("test_histogram", tc.buckets, onAdd, nil, "trace_id") testHistogram(t, h, tc.collections) }) @@ -462,7 +462,7 @@ func Test_Histograms(t *testing.T) { t.SkipNow() } - onAdd := func(count uint32) bool { return true } + onAdd := func(uint32) bool { return true } h := newNativeHistogram("test_histogram", tc.buckets, onAdd, nil, "trace_id", HistogramModeBoth) testHistogram(t, h, tc.collections) })