Skip to content

Commit c2d039f

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

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ public DeleteControl execute() throws Exception {
194194
WorkflowCleanupResult workflowCleanupResult = null;
195195

196196
// The cleanup is called also when explicit invocation is true, but the cleaner is not
197-
// implemented
197+
// implemented, also in case when explicit invocation is false, but there is cleaner
198+
// implemented.
198199
if (managedWorkflow.hasCleaner() && (!explicitWorkflowInvocation || !isCleaner)) {
199200
workflowCleanupResult = managedWorkflow.cleanup(resource, context);
200201
}

0 commit comments

Comments
 (0)