Skip to content

Commit 51f7d97

Browse files
committed
fix
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 5887fbc commit 51f7d97

File tree

1 file changed

+1
-1
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/Controller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public DeleteControl execute() throws Exception {
195195

196196
// The cleanup is called also when explicit invocation is true, but the cleaner is not
197197
// implemented
198-
if (managedWorkflow.hasCleaner() && !explicitWorkflowInvocation) {
198+
if (managedWorkflow.hasCleaner() && (!explicitWorkflowInvocation || !isCleaner)) {
199199
workflowCleanupResult = managedWorkflow.cleanup(resource, context);
200200
}
201201

0 commit comments

Comments
 (0)