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: Check the workflow is not being deleted for Synchronization workflow #4935

Merged
merged 5 commits into from Jan 25, 2021

Conversation

sarabala1979
Copy link
Member

@sarabala1979 sarabala1979 commented Jan 23, 2021

Checklist:

closes #4905

@sarabala1979 sarabala1979 marked this pull request as ready for review January 25, 2021 17:44
@alexec alexec self-assigned this Jan 25, 2021
if key == "" {
return "", fmt.Errorf("holderkey is empty")
}
items := strings.Split(key, "/")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems redundant - you just split and then re-join - I think you can always assume namespace/name

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In template level synchronization scenario, Key will have 3 items (including node name)

@sarabala1979 sarabala1979 merged commit e7e51d0 into argoproj:master Jan 25, 2021
@simster7 simster7 mentioned this pull request Feb 1, 2021
32 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.

Handling missed Workflow delete event for the workflow which is holding or waiting for Synchronization lock
2 participants