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
|
||
|---|---|---|
| .. | ||
| posrange | ||
| ast.go | ||
| functions.go | ||
| generated_parser.y | ||
| generated_parser.y.go | ||
| lex.go | ||
| lex_test.go | ||
| parse.go | ||
| parse_test.go | ||
| prettier.go | ||
| prettier_rules.md | ||
| prettier_test.go | ||
| printer.go | ||
| printer_test.go | ||
| value.go | ||