Skip to content

Commit

Permalink
Merge branch 'main' into fix/workflow-row-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbjohnson authored Dec 6, 2024
2 parents a2c8ad6 + 9d1d2cd commit 5a6af36
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion workflow/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,13 @@ func SubmitWorkflow(ctx context.Context, wfIf v1alpha1.WorkflowInterface, wfClie
}
return wf, err
} else {
return wfIf.Create(ctx, wf, metav1.CreateOptions{})
var runWf *wfv1.Workflow
err = waitutil.Backoff(retry.DefaultRetry, func() (bool, error) {
var err error
runWf, err = wfIf.Create(ctx, wf, metav1.CreateOptions{})
return !errorsutil.IsTransientErr(err), err
})
return runWf, err
}
}

Expand Down

0 comments on commit 5a6af36

Please sign in to comment.