Skip to content

Commit

Permalink
Merge pull request #1459 from JacobTanenbaum/release-4.11-OCP4992
Browse files Browse the repository at this point in the history
OCPBUGS-4992:  [release-4.11] fixing hybrid subnet allocator
  • Loading branch information
openshift-merge-robot committed Dec 20, 2022
2 parents 35220a5 + 3051974 commit 2fb221d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-controller/hybrid-overlay/pkg/controller/master.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func NewMaster(kube kube.Interface,

// Add our hybrid overlay CIDRs to the subnetallocator
klog.Infof("Allocating subnets")
if err := m.allocator.InitRanges(config.Default.ClusterSubnets); err != nil {
if err := m.allocator.InitRanges(config.HybridOverlay.ClusterSubnets); err != nil {
klog.Errorf("Failed to initialize host subnet allocator ranges: %v", err)
return nil, err
}
Expand Down

0 comments on commit 2fb221d

Please sign in to comment.