Skip to content
Snippets Groups Projects
Commit 913be644 authored by JustAnotherChristoph's avatar JustAnotherChristoph
Browse files

replaced deprecated method with suggested alternative

parent 1312a23a
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !276. Comments created here will be created in the context of that merge request.
...@@ -136,7 +136,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) { ...@@ -136,7 +136,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) {
ExecutionCRD, ExecutionCRD,
BenchmarkExecutionList, BenchmarkExecutionList,
Resource<ExecutionCRD>> { Resource<ExecutionCRD>> {
return this.client.customResources( return client.resources(
ExecutionCRD::class.java, ExecutionCRD::class.java,
BenchmarkExecutionList::class.java BenchmarkExecutionList::class.java
) )
...@@ -146,7 +146,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) { ...@@ -146,7 +146,7 @@ class TheodoliteOperator(private val client: NamespacedKubernetesClient) {
BenchmarkCRD, BenchmarkCRD,
KubernetesBenchmarkList, KubernetesBenchmarkList,
Resource<BenchmarkCRD>> { Resource<BenchmarkCRD>> {
return this.client.customResources( return client.resources(
BenchmarkCRD::class.java, BenchmarkCRD::class.java,
KubernetesBenchmarkList::class.java KubernetesBenchmarkList::class.java
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment