Skip to content

Commit

Permalink
Fix coding-style issue
Browse files Browse the repository at this point in the history
Fix coding-style issue
  • Loading branch information
kevin85421 committed Jan 17, 2024
1 parent 15420da commit 37f6b2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/mode/static/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,10 @@ func registerControllers(
controller.WithK8sPredicate(k8spredicate.GenerationChangedPredicate{}),
}
if cfg.GatewayNsName != nil {
options = append(options,
controller.WithNamespacedNameFilter(filter.CreateSingleResourceFilter(*cfg.GatewayNsName)))
options = append(
options,
controller.WithNamespacedNameFilter(filter.CreateSingleResourceFilter(*cfg.GatewayNsName)),
)
}
return options
}(),
Expand Down

0 comments on commit 37f6b2e

Please sign in to comment.