mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix issue
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
2fc6ba1c94
commit
69ce0c24db
|
@ -2357,6 +2357,11 @@ func (ev *evaluator) matrixIterSlice(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if mint == maxt {
|
||||||
|
// Empty range: return the empty slices.
|
||||||
|
return floats, histograms
|
||||||
|
}
|
||||||
|
|
||||||
soughtValueType := it.Seek(maxt)
|
soughtValueType := it.Seek(maxt)
|
||||||
if soughtValueType == chunkenc.ValNone {
|
if soughtValueType == chunkenc.ValNone {
|
||||||
if it.Err() != nil {
|
if it.Err() != nil {
|
||||||
|
|
Loading…
Reference in a new issue