Merge pull request #11822 from krajorama/krajo

Fix comment
This commit is contained in:
Levi Harrison 2023-01-08 11:06:53 -05:00 committed by GitHub
commit 5a485e15ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]