mirror of https://github.com/prometheus/prometheus
tsdb: Fix ValNone typo in comment
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>pull/14719/head
parent
5fd2717aec
commit
b0aba26ed5
|
@ -972,7 +972,7 @@ func (p *populateWithDelChunkSeriesIterator) populateChunksFromIterable() bool {
|
||||||
// Check if the encoding has changed (i.e. we need to create a new
|
// Check if the encoding has changed (i.e. we need to create a new
|
||||||
// chunk as chunks can't have multiple encoding types).
|
// chunk as chunks can't have multiple encoding types).
|
||||||
// For the first sample, the following condition will always be true as
|
// For the first sample, the following condition will always be true as
|
||||||
// ValNoneNone != ValFloat | ValHistogram | ValFloatHistogram.
|
// ValNone != ValFloat | ValHistogram | ValFloatHistogram.
|
||||||
if currentValueType != prevValueType {
|
if currentValueType != prevValueType {
|
||||||
if prevValueType != chunkenc.ValNone {
|
if prevValueType != chunkenc.ValNone {
|
||||||
p.chunksFromIterable = append(p.chunksFromIterable, chunks.Meta{Chunk: currentChunk, MinTime: cmint, MaxTime: cmaxt})
|
p.chunksFromIterable = append(p.chunksFromIterable, chunks.Meta{Chunk: currentChunk, MinTime: cmint, MaxTime: cmaxt})
|
||||||
|
|
Loading…
Reference in New Issue