grafana / lezer-logql

LogQL lezer grammar
Apache License 2.0
3 stars 4 forks source link

Selector: Fix query being valid with incomplete matchers #23

Closed svennergr closed 1 year ago

svennergr commented 1 year ago

Discovered in https://github.com/grafana/grafana/pull/65287 a query like {label="value",} would currently be considered valid. With this PR this is fixed.

Matchers can already contain ,, so it's enough to remove "{" Matchers "," "}".