Browse Source

Update storage/memoized_iterator.go

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
pull/8585/head
Marco Pracucci 4 years ago committed by GitHub
parent
commit
6f050f66c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      storage/memoized_iterator.go

2
storage/memoized_iterator.go

@ -19,7 +19,7 @@ import (
"github.com/prometheus/prometheus/tsdb/chunkenc" "github.com/prometheus/prometheus/tsdb/chunkenc"
) )
// MemoizedSeriesIterator wraps an iterator with a buffer to look-back the previous element. // MemoizedSeriesIterator wraps an iterator with a buffer to look back the previous element.
type MemoizedSeriesIterator struct { type MemoizedSeriesIterator struct {
it chunkenc.Iterator it chunkenc.Iterator
delta int64 delta int64

Loading…
Cancel
Save