mirror of https://github.com/grafana/loki
fix to-string for noop label filters (#8799)
Label Filter optimizations omit `.*` label filters from the execution pipeline but intruduced a bug where those stages were also ommitted from calls to `String` on the expression. This results in unparsable queries and panics when queries are cloned via `query.String()` This PR makes `noopLabelFilter` embed matchers and inherit their `String` method just like the `StringLabelFilters` dojdb/2023-03-update-doc.mk
parent
22b672986a
commit
83ba93c867
Loading…
Reference in new issue