Skip to content

Commit d9a72e2

Browse files
committed
update
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
1 parent 8c1f054 commit d9a72e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/gatewayapi/filters.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,7 @@ func (t *Translator) processExtensionRefHTTPFilter(extFilter *gwapiv1.LocalObjec
900900
// Go's regexp syntax is RE2: https://pkg.go.dev/regexp/syntax
901901
return status.NewRouteStatusError(
902902
errors.New("PathRegex must be a valid RE2 regular expression"),
903+
gwapiv1.RouteReasonUnsupportedValue,
903904
).WithType(gwapiv1.RouteConditionAccepted)
904905
}
905906
hm = &ir.HTTPHostModifier{

0 commit comments

Comments
 (0)