Skip to content

Commit

Permalink
improvement for issue #1908
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiazhen Xu committed Apr 8, 2024
1 parent 45162e8 commit 8765ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/yurt-manager/app/options/nodepoolcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewNodePoolControllerOptions() *NodePoolControllerOptions {
return &NodePoolControllerOptions{
&config.NodePoolControllerConfiguration{
EnableSyncNodePoolConfigurations: true,
ConcurrentNodepools: 3,
ConcurrentNodepools: 3,
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/yurtmanager/controller/nodepool/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ package config
// NodePoolControllerConfiguration contains elements describing NodePoolController.
type NodePoolControllerConfiguration struct {
EnableSyncNodePoolConfigurations bool
ConcurrentNodepools int32
ConcurrentNodepools int32
}
2 changes: 1 addition & 1 deletion pkg/yurtmanager/controller/nodepool/nodepool_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
)

var (
controllerResource = appsv1beta1.SchemeGroupVersion.WithResource("nodepools")
controllerResource = appsv1beta1.SchemeGroupVersion.WithResource("nodepools")
)

func Format(format string, args ...interface{}) string {
Expand Down

0 comments on commit 8765ca6

Please sign in to comment.