mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
4b7a44c7a0
The check fell into "this matcher equals vector selector's name" case when vector selector doesn't have a name and the matcher is an explicit matcher for an empty __name__ label. To provide some context about why this is important: some downstream projects use the promql.Parse(expr.String()) to clone an expression's AST, and with this bug that matcher disappears in the cloning. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
fuzz-data | ||
parser | ||
testdata | ||
bench_test.go | ||
engine_test.go | ||
engine.go | ||
functions_test.go | ||
functions.go | ||
fuzz_test.go | ||
fuzz.go | ||
promql_test.go | ||
quantile_test.go | ||
quantile.go | ||
query_logger_test.go | ||
query_logger.go | ||
test_test.go | ||
test.go | ||
value_test.go | ||
value.go |