Skip to content

Commit 569ce1d

Browse files
committed
fix: wrong condition
Signed-off-by: Chris Laprun <[email protected]>
1 parent 61e3c4b commit 569ce1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/WorkflowReconcileExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected void doRun(DependentResourceNode<R, P> dependentResourceNode) {
144144
final var detailBuilder = createOrGetResultFor(dependentResourceNode);
145145
detailBuilder.withReconcileResult(reconcileResult);
146146

147-
if (isConditionMet(dependentResourceNode.getReconcilePrecondition(), dependentResourceNode)) {
147+
if (isConditionMet(dependentResourceNode.getReadyPostcondition(), dependentResourceNode)) {
148148
log.debug("Setting already reconciled for: {} primaryID: {}",
149149
dependentResourceNode, primaryID);
150150
detailBuilder.markAsVisited();

0 commit comments

Comments
 (0)