lib/storage: typo fix: return dstData instead of data from mergeTagToMetricIDsRows

This commit is contained in:
Aliaksandr Valialkin 2019-09-24 19:32:06 +03:00
parent a6086cde78
commit ef2296e420

View file

@ -2287,7 +2287,7 @@ func mergeTagToMetricIDsRows(data []byte, items [][]byte) ([]byte, [][]byte) {
dstData, dstItems = tmm.flushPendingMetricIDs(dstData, dstItems, mpPrev) dstData, dstItems = tmm.flushPendingMetricIDs(dstData, dstItems, mpPrev)
} }
putTagToMetricIDsRowsMerger(tmm) putTagToMetricIDsRowsMerger(tmm)
return data, dstItems return dstData, dstItems
} }
// maxMetricIDsPerRow limits the number of metricIDs in tag->metricIDs row. // maxMetricIDsPerRow limits the number of metricIDs in tag->metricIDs row.