mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
0a43e788af
* Allow VectorSelector.String() without matchers Previously this method was panicking because it was trying to allocate a slice with capacity -1. There's nothing saying that VectorSelector should have matchers, and it's actually prepared to have zero matcher strings, so it's worth checking instead of panicking. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
ast.go | ||
functions.go | ||
generated_parser.y | ||
generated_parser.y.go | ||
lex_test.go | ||
lex.go | ||
parse_test.go | ||
parse.go | ||
printer_test.go | ||
printer.go | ||
value.go |