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
Branches
Tags
No related merge requests found
...@@ -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 to comment