mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 02:02:17 +00:00
Fix comment
Comment was not updated when code changed from labels to builder in #11717 Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
57cab58c53
commit
97626c9583
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user