Skip to content

Commit 9285c53

Browse files
zirainjukie
andcommitted
Update internal/gatewayapi/listener.go
Co-authored-by: Isaac Wilson <isaac.wilson514@gmail.com> Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 394a543 commit 9285c53

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

internal/gatewayapi/listener.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,6 @@ func (t *Translator) validateListenerSpec(listener *ListenerContext, resources *
261261

262262
// Phase 1: Validate fundamental rules
263263
specValid := t.validateAllowedNamespaces(listener)
264-
if !validateProtocolRules(listener) {
265-
specValid = false
266-
}
267264

268265
// Phase 2: Validate allowed routes based on protocol
269266
if listener.Protocol == gwapiv1.HTTPProtocolType ||

0 commit comments

Comments
 (0)