diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pkg/querier/queryrange/codec.go b/pkg/querier/queryrange/codec.go index e3f1905f54d7c..8571eef4e4071 100644 --- a/pkg/querier/queryrange/codec.go +++ b/pkg/querier/queryrange/codec.go @@ -1607,9 +1607,13 @@ func NewEmptyResponse(r queryrangebase.Request) (queryrangebase.Response, error) }, }, nil case *logproto.IndexStatsRequest: - return &IndexStatsResponse{}, nil + return &IndexStatsResponse{ + Response: &logproto.IndexStatsResponse{}, + }, nil case *logproto.VolumeRequest: - return &VolumeResponse{}, nil + return &VolumeResponse{ + Response: &logproto.VolumeResponse{}, + }, nil default: return nil, fmt.Errorf("unsupported request type %T", req) }