From c4a0bd5eac1ac48a41f4385c75bcf3d25cb2af77 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 8 Mar 2021 11:57:56 +0200 Subject: [PATCH] lib/storage: go fmt --- lib/storage/index_db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/index_db.go b/lib/storage/index_db.go index 35a06c9cf..855f10a7f 100644 --- a/lib/storage/index_db.go +++ b/lib/storage/index_db.go @@ -2484,7 +2484,7 @@ func (is *indexSearch) getMetricIDsForTagFilterSlow(tf *tagFilter, filter *uint6 // Slow path: need tf.matchSuffix call. ok, err := tf.matchSuffix(suffix) // Assume that tf.matchSuffix call needs 10x more time than a single metric scan iteration. - loopsCount += 10*tf.matchCost + loopsCount += 10 * tf.matchCost if err != nil { return loopsCount, fmt.Errorf("error when matching %s against suffix %q: %w", tf, suffix, err) }