Skip to content

Commit

Permalink
METAL-3553 fix reconile requeue for db creation (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabde committed Jun 8, 2022
1 parent 859b4ee commit bcac62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/database_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (r *DatabaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
}

logrus.Infof("DB: namespace=%s, name=%s finish %s", dbcr.Namespace, dbcr.Name, phase)
return reconcileResult, nil // success phase
return reconcile.Result{Requeue: true}, nil // success phase, but not done ... requeue for next step
}

// status true do nothing and don't requeue
Expand Down

0 comments on commit bcac62d

Please sign in to comment.