Skip to content
Snippets Groups Projects
Commit de84b8fe authored by Lorenz Boguhn's avatar Lorenz Boguhn Committed by Sören Henning
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 7872f337
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!91Make namespace configurable,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment