Skip to content
Snippets Groups Projects
Commit 86f9df9d authored by JustAnotherChristoph's avatar JustAnotherChristoph Committed by Christopher Konkel
Browse files

replaced deprecated method with suggested alternative

parent 014922b6
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