mirror of
https://github.com/prometheus/prometheus
synced 2025-02-05 22:56:13 +00:00
fix lint error
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
This commit is contained in:
parent
d3633d4e76
commit
de172049ab
@ -931,8 +931,8 @@ func mergeToSchema(originSpans []Span, originBuckets []float64, originSchema, ta
|
|||||||
// Buckets in spansB/bucketsB with an absolute upper limit ≤ threshold are ignored.
|
// Buckets in spansB/bucketsB with an absolute upper limit ≤ threshold are ignored.
|
||||||
// If negative is true, the buckets in spansB/bucketsB are subtracted rather than added.
|
// If negative is true, the buckets in spansB/bucketsB are subtracted rather than added.
|
||||||
func addBuckets(
|
func addBuckets(
|
||||||
schema int32, threshold float64, negative bool,
|
schema int32, threshold float64, negative bool,
|
||||||
spansA []Span, bucketsA []float64,
|
spansA []Span, bucketsA []float64,
|
||||||
spansB []Span, bucketsB []float64,
|
spansB []Span, bucketsB []float64,
|
||||||
) ([]Span, []float64) {
|
) ([]Span, []float64) {
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user