diff --git a/internal/mode/static/state/graph/grpcroute.go b/internal/mode/static/state/graph/grpcroute.go index 477b594a23..d50001422f 100644 --- a/internal/mode/static/state/graph/grpcroute.go +++ b/internal/mode/static/state/graph/grpcroute.go @@ -248,7 +248,7 @@ func validateGRPCFilter( switch filter.Type { case v1alpha2.GRPCRouteFilterRequestHeaderModifier: - return validateFilterHeaderModifier(validator, filter.RequestHeaderModifier, filterPath) + return validateFilterHeaderModifier(validator, filter.RequestHeaderModifier, filterPath.Child(string(filter.Type))) default: valErr := field.NotSupported( filterPath.Child("type"),