Skip to content

Commit e701bdd

Browse files
committed
fix: use resources method instead of deprecated customResources
1 parent 2c9e151 commit e701bdd

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/ConfiguredController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void start() throws OperatorException {
113113
try {
114114
DefaultEventSourceManager eventSourceManager =
115115
new DefaultEventSourceManager(
116-
controller, configuration, k8sClient.customResources(resClass));
116+
controller, configuration, k8sClient.resources(resClass));
117117
controller.init(eventSourceManager);
118118
} catch (MissingCRDException e) {
119119
throwMissingCRDException(crdName, specVersion, controllerName);

0 commit comments

Comments
 (0)