From 2212d0e421426e80a0ca903ac003d14222e22806 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin <valyala@gmail.com> Date: Tue, 24 Sep 2019 19:32:06 +0300 Subject: [PATCH] lib/storage: typo fix: return dstData instead of data from mergeTagToMetricIDsRows --- 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 d2a59edb8b..7d280db478 100644 --- a/lib/storage/index_db.go +++ b/lib/storage/index_db.go @@ -2358,7 +2358,7 @@ func mergeTagToMetricIDsRows(data []byte, items [][]byte) ([]byte, [][]byte) { dstData, dstItems = tmm.flushPendingMetricIDs(dstData, dstItems, mpPrev) } putTagToMetricIDsRowsMerger(tmm) - return data, dstItems + return dstData, dstItems } // maxMetricIDsPerRow limits the number of metricIDs in tag->metricIDs row.