mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
commit
5a485e15ea
|
@ -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 a new issue