Skip to content

Commit ad67c7a

Browse files
committed
fix: explicit workflow invication uses the same resource intance that reconcile api
Signed-off-by: Attila Mészáros <[email protected]>
1 parent a8f08ed commit ad67c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private PostExecutionControl<P> handleDispatch(ExecutionScope<P> executionScope)
8686
}
8787

8888
Context<P> context =
89-
new DefaultContext<>(executionScope.getRetryInfo(), controller, originalResource);
89+
new DefaultContext<>(executionScope.getRetryInfo(), controller, resourceForExecution);
9090
if (markedForDeletion) {
9191
return handleCleanup(resourceForExecution, originalResource, context);
9292
} else {

0 commit comments

Comments
 (0)