From ef2296e42001b4db212db2a9561eee501cc5e8d8 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin 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 8c92f01a4c..807d470ff5 100644 --- a/lib/storage/index_db.go +++ b/lib/storage/index_db.go @@ -2287,7 +2287,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.