Skip to content

Commit

Permalink
fix: explicit workflow invovation
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
  • Loading branch information
csviri committed Feb 4, 2025
1 parent a46c94d commit 5887fbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
workflowCleanupResult = managedWorkflow.cleanup(resource, context);
}

Expand Down

0 comments on commit 5887fbc

Please sign in to comment.