Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
populate empty resonse for IndexStatsResponse and VolumeResponse (#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. (cherry picked from commit 265018b)
- Loading branch information