Skip to content

Commit 3ec19c5

Browse files
committed
refactor: remove caching
Signed-off-by: Chris Laprun <claprun@redhat.com>
1 parent 72c9cbf commit 3ec19c5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/WorkflowReconcileResult.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@SuppressWarnings("rawtypes")
1010
public class WorkflowReconcileResult extends WorkflowResult {
11-
private Boolean allDependentsReady;
1211

1312
WorkflowReconcileResult(Map<DependentResource, Detail<?>> results) {
1413
super(results);
@@ -28,9 +27,6 @@ public <T> Optional<T> getNotReadyDependentResult(DependentResource dependentRes
2827
}
2928

3029
public boolean allDependentResourcesReady() {
31-
if (allDependentsReady == null) {
32-
allDependentsReady = getNotReadyDependents().isEmpty();
33-
}
34-
return allDependentsReady;
30+
return getNotReadyDependents().isEmpty();
3531
}
3632
}

0 commit comments

Comments
 (0)