From 99d2d7a2aea1005251d88bdf0af9d952c6c2f4f1 Mon Sep 17 00:00:00 2001 From: snow_white <13105039+zhuxingtao@users.noreply.github.com> Date: Sat, 28 Nov 2020 10:12:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DmetricIndex=E7=9A=84TagkvMap?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B8=A4=E6=AC=A1=E9=80=A0=E6=88=90?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AD=98=E6=B5=AA=E8=B4=B9=20(#424)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zhuxingtao --- src/modules/index/cache/metric_map.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/index/cache/metric_map.go b/src/modules/index/cache/metric_map.go index e644b9f0..114f0e10 100644 --- a/src/modules/index/cache/metric_map.go +++ b/src/modules/index/cache/metric_map.go @@ -27,7 +27,6 @@ func NewMetricIndex(item dataobj.IndexModel, counter string, now int64) *MetricI Ts: now, } - metricIndex.TagkvMap = NewTagkvIndex() for k, v := range item.Tags { metricIndex.TagkvMap.Set(k, v, now) }