fix lint error

Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
This commit is contained in:
Ziqi Zhao 2023-08-24 07:27:33 +08:00
parent d3633d4e76
commit de172049ab

View File

@ -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 (