From de84b8fec3c44b88cefa47ec936106076d30736c Mon Sep 17 00:00:00 2001 From: Lorenz Boguhn <stu203404@mail.uni-kiel.de> Date: Wed, 10 Mar 2021 13:43:16 +0000 Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s) --- .../main/kotlin/theodolite/benchmark/KubernetesBenchmark.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmark.kt b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmark.kt index 4ef41f81d..1e2d9a2e6 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmark.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmark.kt @@ -9,7 +9,7 @@ import theodolite.util.* private val logger = KotlinLogging.logger {} -private var DEFAULT_NAMESPACE = "theodolite-she" +private var DEFAULT_NAMESPACE = "default" class KubernetesBenchmark : Benchmark { lateinit var name: String @@ -25,7 +25,7 @@ class KubernetesBenchmark : Benchmark { val parser = YamlParser() namespace = System.getenv("NAMESPACE") ?: DEFAULT_NAMESPACE - logger.info("Using $namespace as namespace.") + logger.info { "Using $namespace as namespace." } val loader = K8sResourceLoader(DefaultKubernetesClient().inNamespace(namespace)) return resources -- GitLab