diff --git a/pkg/querier/queryrange/codec.go b/pkg/querier/queryrange/codec.go index 6f6e90d36fb62..524e5bde63810 100644 --- a/pkg/querier/queryrange/codec.go +++ b/pkg/querier/queryrange/codec.go @@ -379,7 +379,7 @@ func (Codec) DecodeRequest(_ context.Context, r *http.Request, _ []string) (quer AggregateBy: req.AggregateBy, }, err default: - return nil, httpgrpc.Errorf(http.StatusNotFound, fmt.Sprintf("unknown request path in decoding request: %s", r.URL.Path)) + return nil, httpgrpc.Errorf(http.StatusNotFound, fmt.Sprintf("unknown request path: %s", r.URL.Path)) } }