@@ -218,10 +218,9 @@ func (r *Metal3MachineReconciler) Reconcile(ctx context.Context, req ctrl.Reques
218218 machineLog .Info ("reconciliation is paused for this object" )
219219 v1beta1conditions .MarkFalse (capm3Machine , infrav1 .AssociateBMHCondition , infrav1 .Metal3MachinePausedReason , clusterv1beta1 .ConditionSeverityInfo , "" )
220220 deprecatedv1beta2conditions .Set (capm3Machine , metav1.Condition {
221- Type : clusterv1beta1 .PausedV1Beta2Condition ,
222- Status : metav1 .ConditionTrue ,
223- Reason : clusterv1beta1 .PausedV1Beta2Reason ,
224- Message : "Pause annotation set on associated BareMetalHost" ,
221+ Type : clusterv1beta1 .PausedV1Beta2Condition ,
222+ Status : metav1 .ConditionTrue ,
223+ Reason : clusterv1beta1 .PausedV1Beta2Reason ,
225224 })
226225 return ctrl.Result {Requeue : true , RequeueAfter : requeueAfter }, nil
227226 }
@@ -325,7 +324,7 @@ func (r *Metal3MachineReconciler) reconcileNormal(ctx context.Context,
325324 }
326325 // Update Condition to reflect that we have an associated BMH
327326 machineMgr .SetConditionMetal3MachineToTrue (infrav1 .AssociateBMHCondition )
328- machineMgr .SetV1beta2Condition (infrav1 .AssociateBareMetalHostV1Beta2Condition , metav1 .ConditionTrue , infrav1 .AssociateBareMetalHostSuccessV1Beta2Reason , "Metal3Machine is associated with a BareMetalHost " )
327+ machineMgr .SetV1beta2Condition (infrav1 .AssociateBareMetalHostV1Beta2Condition , metav1 .ConditionTrue , infrav1 .AssociateBareMetalHostSuccessV1Beta2Reason , "" )
329328
330329 // Make sure that the metadata is ready if any
331330 err := machineMgr .AssociateM3Metadata (ctx )
@@ -335,7 +334,7 @@ func (r *Metal3MachineReconciler) reconcileNormal(ctx context.Context,
335334 return checkMachineError (machineMgr , err ,
336335 "Failed to get the Metal3Metadata" , errType )
337336 }
338- machineMgr .SetV1beta2Condition (infrav1 .AssociateMetal3MachineMetaDataV1Beta2Condition , metav1 .ConditionTrue , infrav1 .AssociateMetal3MachineMetaDataSuccessV1Beta2Reason , "Metal3Machine metadata is associated successfully " )
337+ machineMgr .SetV1beta2Condition (infrav1 .AssociateMetal3MachineMetaDataV1Beta2Condition , metav1 .ConditionTrue , infrav1 .AssociateMetal3MachineMetaDataSuccessV1Beta2Reason , "" )
339338
340339 err = machineMgr .Update (ctx )
341340 if err != nil {
0 commit comments