From 97626c95830aac287a24dca233d4a8aeaa92128f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Sun, 8 Jan 2023 16:29:02 +0100 Subject: [PATCH] Fix comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comment was not updated when code changed from labels to builder in #11717 Signed-off-by: György Krajcsovits --- tsdb/index/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/index/index.go b/tsdb/index/index.go index 407b5380f..4a57a49f1 100644 --- a/tsdb/index/index.go +++ b/tsdb/index/index.go @@ -1836,7 +1836,7 @@ func (dec *Decoder) LabelValueFor(b []byte, label string) (string, error) { } // Series decodes a series entry from the given byte slice into builder and chks. -// Previous contents of lbls can be overwritten - make sure you copy before retaining. +// Previous contents of builder can be overwritten - make sure you copy before retaining. func (dec *Decoder) Series(b []byte, builder *labels.ScratchBuilder, chks *[]chunks.Meta) error { builder.Reset() *chks = (*chks)[:0]