Skip to content

Commit

Permalink
Merge pull request #165 from openshift-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…64-to-release-4.15

[release-4.15] OCPBUGS-32744: Relax requirement to enable topology
  • Loading branch information
openshift-merge-bot[bot] committed May 14, 2024
2 parents 2367f2c + cbc55b5 commit 3ae5f7e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pkg/controllers/config/cloudinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ func enableTopologyFeature() (bool, error) {
}
}

// for us to enable the topology feature, we need to have an equal number
// of availability zones for the compute and volume services...
if len(ci.ComputeZones) != len(ci.VolumeZones) {
return false, nil
}

// and these AZs have to have identical names
// for us to enable the topology feature, we need to ensure that for
// every compute zone there is a matching volume zone
for i := range ci.ComputeZones {
if ci.ComputeZones[i] != ci.VolumeZones[i] {
return false, nil
Expand Down

0 comments on commit 3ae5f7e

Please sign in to comment.