mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #12839 from prometheus/beorn7/histogram
storage: remove obsolete TODO
This commit is contained in:
commit
8f52477e20
|
@ -42,7 +42,6 @@ func NewBuffer(delta int64) *BufferedSeriesIterator {
|
||||||
// NewBufferIterator returns a new iterator that buffers the values within the
|
// NewBufferIterator returns a new iterator that buffers the values within the
|
||||||
// time range of the current element and the duration of delta before.
|
// time range of the current element and the duration of delta before.
|
||||||
func NewBufferIterator(it chunkenc.Iterator, delta int64) *BufferedSeriesIterator {
|
func NewBufferIterator(it chunkenc.Iterator, delta int64) *BufferedSeriesIterator {
|
||||||
// TODO(codesome): based on encoding, allocate different buffer.
|
|
||||||
bit := &BufferedSeriesIterator{
|
bit := &BufferedSeriesIterator{
|
||||||
buf: newSampleRing(delta, 0, chunkenc.ValNone),
|
buf: newSampleRing(delta, 0, chunkenc.ValNone),
|
||||||
delta: delta,
|
delta: delta,
|
||||||
|
|
Loading…
Reference in a new issue