mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-08 16:12:16 -04:00
Update tsdb/record/record.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: Miguel Bernabeu Diaz <miguelbernadi@gmail.com>
This commit is contained in:
parent
b4db611d52
commit
423c7878de
1 changed files with 4 additions and 2 deletions
|
|
@ -593,8 +593,10 @@ func (d *Decoder) histogramSamplesV2(dec *encoding.Decbuf, histograms []RefHisto
|
|||
firstRef := chunks.HeadSeriesRef(dec.Varint64())
|
||||
firstT := dec.Varint64()
|
||||
firstST := dec.Varint64()
|
||||
var prevRef chunks.HeadSeriesRef
|
||||
var prevST int64
|
||||
var (
|
||||
prevRef chunks.HeadSeriesRef
|
||||
prevST int64
|
||||
)
|
||||
hasPrev := false
|
||||
|
||||
for len(dec.B) > 0 && dec.Err() == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue