-
Notifications
You must be signed in to change notification settings - Fork 218
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
fix: explicit workflow invovation cleanup issue #2680
Conversation
Signed-off-by: Attila Mészáros <[email protected]>
@@ -195,7 +195,7 @@ public DeleteControl execute() throws Exception { | |||
|
|||
// The cleanup is called also when explicit invocation is true, but the cleaner is not | |||
// implemented | |||
if (managedWorkflow.hasCleaner() || !explicitWorkflowInvocation) { | |||
if (managedWorkflow.hasCleaner() && !explicitWorkflowInvocation) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH, I miss the context here, but if I understand the comment above correctly it should be:
if (managedWorkflow.hasCleaner() && !explicitWorkflowInvocation) { | |
if (managedWorkflow.hasCleaner() || explicitWorkflowInvocation) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the PR and also the comment. It's a bit more complicated than that.
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros [email protected]