From 62b4d1dc3f39cbee2f13847467bc6d6691af13c1 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Tue, 14 Apr 2026 10:01:29 -0400 Subject: [PATCH] lint Signed-off-by: Owen Williams --- tsdb/record/bench_test.go | 6 ++++++ tsdb/record/record_test.go | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tsdb/record/bench_test.go b/tsdb/record/bench_test.go index 64c8ad4702..8c12b5656d 100644 --- a/tsdb/record/bench_test.go +++ b/tsdb/record/bench_test.go @@ -129,6 +129,7 @@ var ( } ) +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_Samples' \ @@ -172,6 +173,7 @@ func BenchmarkEncode_Samples(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_Samples' \ @@ -225,6 +227,7 @@ var ( histCounts = testrecord.HistCounts ) +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_Histograms' \ @@ -280,6 +283,7 @@ func BenchmarkEncode_Histograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_Histograms' \ @@ -336,6 +340,7 @@ func BenchmarkDecode_Histograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_FloatHistograms' \ @@ -391,6 +396,7 @@ func BenchmarkEncode_FloatHistograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_FloatHistograms' \ diff --git a/tsdb/record/record_test.go b/tsdb/record/record_test.go index 1e50d569b9..77fc715191 100644 --- a/tsdb/record/record_test.go +++ b/tsdb/record/record_test.go @@ -486,8 +486,8 @@ func TestRecord_MixedRegularAndCustomBucketHistogramPermutations(t *testing.T) { sts []int64 } type tc struct { - name string - kinds []string + name string + kinds []string } testCases := []tc{