diff --git a/staging/src/k8s.io/cloud-provider/options/nodecontroller.go b/staging/src/k8s.io/cloud-provider/options/nodecontroller.go index a0cfe50bdd0..eab54770773 100644 --- a/staging/src/k8s.io/cloud-provider/options/nodecontroller.go +++ b/staging/src/k8s.io/cloud-provider/options/nodecontroller.go @@ -32,7 +32,7 @@ func (o *NodeControllerOptions) AddFlags(fs *pflag.FlagSet) { return } - fs.Int32Var(&o.WorkerCount, "workerCount", o.WorkerCount, "Number of workers synchronizing node status.") + fs.Int32Var(&o.WorkerCount, "worker-count", o.WorkerCount, "Number of workers synchronizing node status.") } // ApplyTo fills up ServiceController config with options.