Skip to content

Commit 2786179

Browse files
author
Joshua Reed
committed
Initial attemtp. Testing now.
1 parent e5695cf commit 2786179

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/cloudstackmachine_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ func (r *CloudStackMachineReconciliationRunner) SetFailureDomainOnCSMachine() (r
148148
return ctrl.Result{}, errors.Errorf("could not find zone by zoneName: %s", r.ReconciliationSubject.Spec.ZoneName)
149149
}
150150
} else { // No Zone Specified, pick a Random Zone.
151+
// TODO: Add an additional controller test for this once controller test upgrades are merged.
151152
if len(r.Zones.Items) < 1 { // Double check that zones are present.
152153
return r.RequeueWithMessage("no zones found, requeueing")
153154
}

0 commit comments

Comments
 (0)