Skip to content

Commit

Permalink
update for issue #1908
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiazhen Xu committed Apr 6, 2024
1 parent b617205 commit 45162e8
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -76,7 +76,7 @@ func Add(ctx context.Context, c *config.CompletedConfig, mgr manager.Manager) er
cfg: c.ComponentConfig.NodePoolController,
recorder: mgr.GetEventRecorderFor(names.NodePoolController),
}
// config.NodePoolControllerConfiguration

// Create a new controller
ctrl, err := controller.New(names.NodePoolController, mgr, controller.Options{
Reconciler: r, MaxConcurrentReconciles: int(c.ComponentConfig.NodePoolController.ConcurrentNodepools),

Check warning on line 82 in pkg/yurtmanager/controller/nodepool/nodepool_controller.go

View check run for this annotation

Codecov / codecov/patch

pkg/yurtmanager/controller/nodepool/nodepool_controller.go#L82

Added line #L82 was not covered by tests
Expand Down

0 comments on commit 45162e8

Please sign in to comment.