Skip to content

Commit a5cfd6e

Browse files
committed
fix: if there are no changes, they should not be on the ignore list
1 parent 5d36a82 commit a5cfd6e

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/dependent/kubernetes/GenericKubernetesResourceMatcher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private static boolean allDiffsAreAddOps(List<JsonNode> metadataJSonDiffs) {
174174
private static boolean allDiffsOnIgnoreList(List<JsonNode> metadataJSonDiffs,
175175
List<String> ignoreList) {
176176
if (metadataJSonDiffs.isEmpty()) {
177-
return true;
177+
return false;
178178
}
179179
return metadataJSonDiffs.stream().allMatch(n -> {
180180
var path = n.get("path").asText();

0 commit comments

Comments
 (0)