mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-29 15:31:00 +01: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.
|
// 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 {
|
func (dec *Decoder) Series(b []byte, builder *labels.ScratchBuilder, chks *[]chunks.Meta) error {
|
||||||
builder.Reset()
|
builder.Reset()
|
||||||
*chks = (*chks)[:0]
|
*chks = (*chks)[:0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user