From 7147554f3b534fad89813a1a809328988c3b2674 Mon Sep 17 00:00:00 2001 From: lorenz <stu203404@mail.uni-kiel.de> Date: Thu, 15 Apr 2021 11:13:48 +0200 Subject: [PATCH] Refactoring --- .../src/main/kotlin/theodolite/patcher/PatcherFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/patcher/PatcherFactory.kt b/theodolite-quarkus/src/main/kotlin/theodolite/patcher/PatcherFactory.kt index d2a090390..2ee1f6c7b 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/patcher/PatcherFactory.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/patcher/PatcherFactory.kt @@ -30,7 +30,7 @@ class PatcherFactory { k8sResources.filter { it.first == patcherDefinition.resource }.map { resource -> resource.second }[0] return when (patcherDefinition.type) { "ReplicaPatcher" -> ReplicaPatcher(resource) - "NumNestedGroupsLoadGeneratorReplicaPatcher" ->NumNestedGroupsLoadGeneratorReplicaPatcher(resource) + "NumNestedGroupsLoadGeneratorReplicaPatcher" -> NumNestedGroupsLoadGeneratorReplicaPatcher(resource) "NumSensorsLoadGeneratorReplicaPatcher" -> NumSensorsLoadGeneratorReplicaPatcher(resource) "EnvVarPatcher" -> EnvVarPatcher(resource, patcherDefinition.container, patcherDefinition.variableName) "NodeSelectorPatcher" -> NodeSelectorPatcher(resource, patcherDefinition.variableName) -- GitLab