diff --git a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteOperator.kt b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteOperator.kt index 4d639fdb98ea4a890a734f8db0deca62d83fb508..9e9a0eb5aab376b2eece21864df639e2a27a1715 100644 --- a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteOperator.kt +++ b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteOperator.kt @@ -136,7 +136,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) { ExecutionCRD, BenchmarkExecutionList, Resource<ExecutionCRD>> { - return this.client.customResources( + return client.resources( ExecutionCRD::class.java, BenchmarkExecutionList::class.java ) @@ -146,7 +146,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) { BenchmarkCRD, KubernetesBenchmarkList, Resource<BenchmarkCRD>> { - return this.client.customResources( + return client.resources( BenchmarkCRD::class.java, KubernetesBenchmarkList::class.java )