Skip to content

Commit fcbd61e

Browse files
committed
Fixed RosaMachinePoolReady typo and changed commit messsage.
1 parent df09e6c commit fcbd61e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exp/api/v1beta2/conditions_consts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ const (
105105

106106
const (
107107
// RosaMachinePoolReadyCondition condition reports on the successful reconciliation of rosa machinepool.
108-
RosaMachinePoolReadyCondition clusterv1.ConditionType = "RosaMchinePoolReady"
108+
RosaMachinePoolReadyCondition clusterv1.ConditionType = "RosaMachinePoolReady"
109109
// RosaMachinePoolUpgradingCondition condition reports whether ROSAMachinePool is upgrading or not.
110-
RosaMachinePoolUpgradingCondition clusterv1.ConditionType = "RosaMchinePoolUpgrading"
110+
RosaMachinePoolUpgradingCondition clusterv1.ConditionType = "RosaMachinePoolUpgrading"
111111

112112
// WaitingForRosaControlPlaneReason used when the machine pool is waiting for
113113
// ROSA control plane infrastructure to be ready before proceeding.

exp/controllers/rosamachinepool_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func (r *ROSAMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Requ
155155

156156
if !controlPlane.Status.Ready && controlPlane.ObjectMeta.DeletionTimestamp.IsZero() {
157157
log.Info("Control plane is not ready yet")
158-
err := machinePoolScope.RosaMchinePoolReadyFalse(expinfrav1.WaitingForRosaControlPlaneReason, "")
158+
err := machinePoolScope.RosaMachinePoolReadyFalse(expinfrav1.WaitingForRosaControlPlaneReason, "")
159159
return ctrl.Result{}, err
160160
}
161161

pkg/cloud/scope/rosamachinepool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ func (s *RosaMachinePoolScope) Namespace() string {
189189
return s.Cluster.Namespace
190190
}
191191

192-
// RosaMchinePoolReadyFalse marks the ready condition false using warning if error isn't
192+
// RosaMachinePoolReadyFalse marks the ready condition false using warning if error isn't
193193
// empty.
194-
func (s *RosaMachinePoolScope) RosaMchinePoolReadyFalse(reason string, err string) error {
194+
func (s *RosaMachinePoolScope) RosaMachinePoolReadyFalse(reason string, err string) error {
195195
severity := clusterv1.ConditionSeverityWarning
196196
if err == "" {
197197
severity = clusterv1.ConditionSeverityInfo

0 commit comments

Comments
 (0)