Separate func

This commit is contained in:
cici37
2021-01-21 12:47:45 -08:00
parent 7b0a6db097
commit 52bab024af
3 changed files with 3 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ func main() {
// If you do not need additional controller, please ignore.
controllerInitializers["nodeipam"] = startNodeIpamControllerWrapper
command := app.NewCloudControllerManagerCommand(cloudProviderName, ccmOptions, cloudInitializer, controllerInitializers)
command := app.NewCloudControllerManagerCommand(ccmOptions, cloudInitializer, controllerInitializers)
// TODO: once we switch everything over to Cobra commands, we can go back to calling
// utilflag.InitFlags() (by removing its pflag.Parse() call). For now, we have to set the