Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[k174] populate empty resonse for IndexStatsResponse and VolumeRespon…
…se (#11224) Backport 265018b from #11209 --- Fixes a panic when the underlying response struct is accessed but not populated after an out-of-bounds request is short-circuited via `NewEmptyResponse` [here](https://github.com/grafana/loki/blob/main/pkg/querier/queryrange/limits.go#L155-L164). This PR ensures the embedded types are not nil in accordance with the other variants in this function. Co-authored-by: Owen Diehl <[email protected]>
- Loading branch information