This commit fixes the evaluation of invalid expressions like
`sum(rate(`. Before that, it would trigger a panic in the PromQL engine
because it tried to access an index which is out of range.
The bug was probably introduced by 06d0b063ea
.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
pull/16754/head
parent
f69c83f5f1
commit
71217a6e43
Loading…
Reference in new issue