Skip to content

Commit

Permalink
remove unnecessary space server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
WoShiZhangmingyu authored Oct 28, 2024
1 parent ba69981 commit 3c98e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yurtmanager/webhook/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func addControllerWebhook(name string, handler SetupWebhookWithManager) {
controllerWebhooks[name] = append(controllerWebhooks[name], handler)
}

func init() {
func init() {
addControllerWebhook(names.GatewayPickupController, &v1beta1gateway.GatewayHandler{})
addControllerWebhook(names.NodePoolController, &v1beta1nodepool.NodePoolHandler{})
addControllerWebhook(names.YurtStaticSetController, &v1alpha1yurtstaticset.YurtStaticSetHandler{})
Expand Down

0 comments on commit 3c98e2d

Please sign in to comment.