Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
  • Loading branch information
cnvergence committed May 7, 2024
1 parent d05738b commit 632b748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ xdsIR:
routes:
- backendWeights:
invalid: 0
valid: 0
valid: 1
destination:
name: httproute/envoy-gateway-system/backend/rule/0
settings:
Expand Down
3 changes: 2 additions & 1 deletion internal/gatewayapi/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import (
)

func (t *Translator) validateBackendRef(backendRefContext BackendRefContext, parentRef *RouteParentContext, route RouteContext,
resources *Resources, backendNamespace string, routeKind gwapiv1.Kind) bool {
resources *Resources, backendNamespace string, routeKind gwapiv1.Kind,
) bool {
backendRef := GetBackendRef(backendRefContext)

if !t.validateBackendRefGroup(backendRef, parentRef, route) {
Expand Down

0 comments on commit 632b748

Please sign in to comment.