mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 20:06:12 +02:00
lint
Signed-off-by: Owen Williams <owen.williams@grafana.com>
This commit is contained in:
parent
693761ba6e
commit
62b4d1dc3f
@ -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' \
|
||||
|
||||
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user