Skip to content

Commit 77be8f5

Browse files
authored
fix: use resolved reconciler class name (#1612)
1 parent a78b81a commit 77be8f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/AnnotationConfigurable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
import java.lang.annotation.Annotation;
44

5-
public interface AnnotationConfigurable<C extends Annotation> {
6-
void initFrom(C configuration);
5+
public interface AnnotationConfigurable<A extends Annotation> {
6+
void initFrom(A configuration);
77
}

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/Controller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public synchronized void start(boolean startEventProcessor) throws OperatorExcep
311311
final var crdName = configuration.getResourceTypeName();
312312
final var specVersion = "v1";
313313
log.info("Starting '{}' controller for reconciler: {}, resource: {}", controllerName,
314-
reconciler.getClass().getCanonicalName(), resClass.getCanonicalName());
314+
configuration.getAssociatedReconcilerClassName(), resClass.getCanonicalName());
315315

316316
// fail early if we're missing the current namespace information
317317
failOnMissingCurrentNS();

0 commit comments

Comments
 (0)