Skip to content

Commit 9012076

Browse files
committed
fix: make it clear that ConfiguredController.init should not be called
Fixes #554
1 parent 4ac11bc commit 9012076

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ public UpdateControl<R> execute() {
105105

106106
@Override
107107
public void init(EventSourceManager eventSourceManager) {
108-
this.manager = eventSourceManager;
109-
controller.init(eventSourceManager);
108+
throw new UnsupportedOperationException("This method should never be called directly");
110109
}
111110

112111
@Override

0 commit comments

Comments
 (0)