Skip to content

Commit cb4b6a2

Browse files
committed
add missing lookup for TLSRoute
1 parent 94278ae commit cb4b6a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/gateway.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ func getRouteParentRefs(rt gatewayRoute) []v1.ParentReference {
500500
routeParentRefs = rt.Object().(*v1alpha2.UDPRoute).Spec.ParentRefs
501501
case *v1alpha2.TCPRoute:
502502
routeParentRefs = rt.Object().(*v1alpha2.TCPRoute).Spec.ParentRefs
503+
case *v1alpha2.TLSRoute:
504+
routeParentRefs = rt.Object().(*v1alpha2.TLSRoute).Spec.ParentRefs
503505
}
504506
return routeParentRefs
505507
}

0 commit comments

Comments
 (0)