Skip to content

Commit edfc4f8

Browse files
committed
chore: use resources method instead of deprecated customResources
1 parent 3428ca6 commit edfc4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework/src/test/java/io/javaoperatorsdk/operator/IntegrationTestSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void initialize(KubernetesClient k8sClient, ResourceController controller
5252
loadCRDAndApplyToCluster(crdPath);
5353

5454
final var customResourceClass = config.getCustomResourceClass();
55-
this.crOperations = k8sClient.customResources(customResourceClass);
55+
this.crOperations = k8sClient.resources(customResourceClass);
5656

5757
final var namespaces = k8sClient.namespaces();
5858
if (namespaces.withName(TEST_NAMESPACE).get() == null) {

0 commit comments

Comments
 (0)