Skip to content

Commit

Permalink
updating tls route
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Volchok <[email protected]>
  • Loading branch information
alexwo committed Oct 1, 2024
1 parent 7e94bfb commit 0a75408
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/gatewayapi/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,7 @@ func (t *Translator) processTLSRouteParentRefs(tlsRoute *TLSRouteContext, resour
// compute backends
for _, rule := range tlsRoute.Spec.Rules {
for _, backendRef := range rule.BackendRefs {
// Consider if we want to use tcp reset or TLS Alert Protocol to cancel a connection in case of errors here.
ds, err := t.processDestination(backendRef, parentRef, tlsRoute, resources)

// skip adding the route and provide the reason via route status.
if err != nil {
routeStatus := GetRouteStatus(tlsRoute)
Expand Down

0 comments on commit 0a75408

Please sign in to comment.