Skip to content

Commit 5fac791

Browse files
csviriCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4ed51b8 commit 5fac791

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/ResourceOperations.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -936,9 +936,8 @@ public Mode getMode() {
936936
return mode;
937937
}
938938

939-
public boolean isForcedFiltering() {
940-
return mode != Mode.ONLY_CACHE;
941-
}
939+
public boolean isForcedFiltering() {
940+
return mode == Mode.FORCED_FILTERING;
942941
}
943942

944943
@Experimental(API_MIGHT_CHANGE)

0 commit comments

Comments
 (0)