Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gateway client): Fix nil pointer dereference panic when using rul…
…er in ring mode (#13436) Fixes gateway client return with nil pointer panic when using ring mode for ruler service. `clients.dnsProvider` will only be init when using `simple mode` here: https://github.com/grafana/loki/blob/183406570411a5ad5ceaf32bf07451b8fce608c1/pkg/indexgateway/client.go#L184 Service like `ruler` using `ring mode` will run into panic `nil pointer reference` during restarting or exiting: (cherry picked from commit 304db10)
- Loading branch information