File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cmd/cloud-controller-manager Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ limitations under the License.
20
20
package main
21
21
22
22
import (
23
- "k8s.io/cloud-provider/names"
24
23
"math/rand"
25
24
"os"
26
25
"time"
@@ -31,6 +30,7 @@ import (
31
30
_ "k8s.io/cloud-provider-gcp/providers/gce"
32
31
"k8s.io/cloud-provider/app"
33
32
"k8s.io/cloud-provider/app/config"
33
+ "k8s.io/cloud-provider/names"
34
34
"k8s.io/cloud-provider/options"
35
35
cliflag "k8s.io/component-base/cli/flag"
36
36
"k8s.io/component-base/logs"
@@ -57,7 +57,7 @@ func main() {
57
57
nodeIpamController .nodeIPAMControllerOptions .NodeIPAMControllerConfiguration = & nodeIpamController .nodeIPAMControllerConfiguration
58
58
fss := cliflag.NamedFlagSets {}
59
59
nodeIpamController .nodeIPAMControllerOptions .AddFlags (fss .FlagSet ("nodeipam controller" ))
60
- controllerInitializers ["nodeipam" ] = app.ControllerInitFuncConstructor {
60
+ controllerInitializers [kcmnames . NodeIpamController ] = app.ControllerInitFuncConstructor {
61
61
Constructor : nodeIpamController .startNodeIpamControllerWrapper ,
62
62
}
63
63
You can’t perform that action at this time.
0 commit comments