Skip to content

Commit

Permalink
Added RequeueAfter
Browse files Browse the repository at this point in the history
Signed-off-by: Blake Devcich <[email protected]>
  • Loading branch information
bdevcich committed Nov 14, 2023
1 parent da3ed37 commit 5e9e49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/nnf_workflow_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5e9e49e

Please sign in to comment.