Skip to content

Commit cf510ac

Browse files
committed
fix multiple node cidr masks in providerless build
1 parent 753774d commit cf510ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/nodeipam/nolegacyprovider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func startLegacyIPAM(
3434
kubeClient clientset.Interface,
3535
clusterCIDRs []*net.IPNet,
3636
serviceCIDR *net.IPNet,
37-
nodeCIDRMaskSize int,
37+
nodeCIDRMaskSizes []int,
3838
) {
3939
klog.Fatal("Error trying to Init(): legacy cloud provider support disabled at build time")
4040
}

0 commit comments

Comments
 (0)