From 5e9e49efe518f0b96ca2015d19f649d25530f6eb Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Tue, 14 Nov 2023 14:18:55 -0600 Subject: [PATCH] Added RequeueAfter Signed-off-by: Blake Devcich --- internal/controller/nnf_workflow_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/nnf_workflow_controller.go b/internal/controller/nnf_workflow_controller.go index 58f9170e9..2e7f6250b 100644 --- a/internal/controller/nnf_workflow_controller.go +++ b/internal/controller/nnf_workflow_controller.go @@ -617,7 +617,7 @@ func (r *NnfWorkflowReconciler) startDataInOutState(ctx context.Context, workflo return nil, dwsv1alpha2.NewResourceError("could not get NnfDataMovementManager %v", client.ObjectKeyFromObject(dmm)).WithError(err).WithUserMessage("could not determine data movement readiness") } if !dmm.Status.Ready { - return Requeue("pending data movement readiness").withObject(dmm), nil + return Requeue("pending data movement readiness").withObject(dmm).after(2 * time.Second), nil } // Retrieve the target storage that is to perform the data movement.