MCPcopy
hub / github.com/argoproj/argo-workflows / retryStrategy

Method retryStrategy

workflow/controller/operator.go:4278–4283  ·  view source on GitHub ↗
(tmpl *wfv1.Template)

Source from the content-addressed store, hash-verified

4276}
4277
4278func (woc *wfOperationCtx) retryStrategy(tmpl *wfv1.Template) *wfv1.RetryStrategy {
4279 if tmpl != nil && tmpl.RetryStrategy != nil {
4280 return tmpl.RetryStrategy
4281 }
4282 return woc.execWf.Spec.RetryStrategy
4283}
4284
4285func (woc *wfOperationCtx) setExecWorkflow(ctx context.Context) error {
4286 if woc.wf.Spec.WorkflowTemplateRef != nil { // not-woc-misuse

Callers 3

executeTemplateMethod · 0.95
TestRetryOnDiffHostFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestRetryOnDiffHostFunction · 0.64