Remove cloud provider name as input parameter.

This commit is contained in:
cici37
2021-01-20 01:28:44 -08:00
parent 2b3d2303a5
commit 4729fa49e1
3 changed files with 3 additions and 8 deletions

View File

@@ -99,7 +99,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