Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow transient errors in StopWorkflow() #5396

Merged
merged 1 commit into from
Mar 15, 2021
Merged

feat: Allow transient errors in StopWorkflow() #5396

merged 1 commit into from
Mar 15, 2021

Conversation

terrytangyuan
Copy link
Member

Currently StopWorkflow() replies on a for loop and only resilient to apierr.IsConflict errors. This PR does a small refactoring and allows StopWorkflow() to account for other transient errors similar to TerminateWorkflow.

Signed-off-by: terrytangyuan terrytangyuan@gmail.com

Checklist:

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
@simster7 simster7 merged commit b24aaea into argoproj:master Mar 15, 2021
@terrytangyuan terrytangyuan deleted the transient-stop-workflow branch March 15, 2021 02:10
@simster7 simster7 mentioned this pull request Mar 15, 2021
27 tasks
@simster7 simster7 mentioned this pull request Mar 29, 2021
77 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants