Skip to content

Commit a48c9f6

Browse files
committed
fix: properly implement Condition
1 parent ce1ca8d commit a48c9f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/config/ControllerConfigurationOverriderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ public UpdateControl<ConfigMap> reconcile(ConfigMap resource, Context<ConfigMap>
342342
private static class TestCondition implements Condition<ConfigMap, ConfigMap> {
343343

344344
@Override
345-
public boolean isMet(DependentResource<ConfigMap, ConfigMap> dependentResource,
346-
ConfigMap primary, Context<ConfigMap> context) {
345+
public boolean isMet(ConfigMap primary, Optional<ConfigMap> secondary,
346+
Context<ConfigMap> context) {
347347
return true;
348348
}
349349
}

0 commit comments

Comments
 (0)