Skip to content

Commit

Permalink
adding a clearCondition to clear the progressing field and removing a…
Browse files Browse the repository at this point in the history
… blank line
  • Loading branch information
safwank97 committed Oct 10, 2023
1 parent 2059f0f commit 8af014d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func NewMachineHealthCheckReconciler(log *logrus.Entry, client client.Client, dh

// Reconcile watches MachineHealthCheck objects, and if any changes,
// reconciles the associated ARO MachineHealthCheck object

func (r *MachineHealthCheckReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {
instance, err := r.GetCluster(ctx)

Expand Down Expand Up @@ -89,6 +88,7 @@ func (r *MachineHealthCheckReconciler) Reconcile(ctx context.Context, request ct
return reconcile.Result{RequeueAfter: time.Hour}, err
}

r.ClearConditions(ctx)
return reconcile.Result{}, nil
}

Expand Down

0 comments on commit 8af014d

Please sign in to comment.