Skip to content

Commit 6387049

Browse files
author
Joshua Reed
committed
Should fix affinity group issue.
1 parent d61a8b2 commit 6387049

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

controllers/utils/zones.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (r *ReconciliationRunner) CreateZones(zoneSpecs []infrav1.Zone) CloudStackR
6363
}
6464
}
6565

66-
// GetZones gets CloudStackZones owned by a CloudStackCluster via an ownership label.
66+
// GetZones gets CloudStackZones owned by a CloudStackCluster.
6767
func (r *ReconciliationRunner) GetZones(zones *infrav1.CloudStackZoneList) CloudStackReconcilerMethod {
6868
return func() (ctrl.Result, error) {
6969
capiClusterLabel := map[string]string{
@@ -80,8 +80,7 @@ func (r *ReconciliationRunner) GetZones(zones *infrav1.CloudStackZoneList) Cloud
8080
}
8181
}
8282

83-
// GetZonesAndRequeueIfMissing gets CloudStackZones owned by a CloudStackCluster via an ownership label, and requeues
84-
// if none are found.
83+
// GetZonesAndRequeueIfMissing gets CloudStackZones owned by a CloudStackCluster and requeues if none are found.
8584
func (r *ReconciliationRunner) GetZonesAndRequeueIfMissing(zones *infrav1.CloudStackZoneList) CloudStackReconcilerMethod {
8685
return func() (ctrl.Result, error) {
8786
if res, err := r.GetZones(zones)(); r.ShouldReturn(res, err) {

0 commit comments

Comments
 (0)