diff --git a/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt b/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt index 03297e8214d3c5c381a43e7cc0c272e042fc47c7..ca5ca7993216230e99045a7c5a2edbefaffe9706 100644 --- a/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt +++ b/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt @@ -142,7 +142,7 @@ class ActionCommand(val client: NamespacedKubernetesClient) { override fun onFailure(throwable: Throwable, response: Response) { execLatch.countDown() - throw ActionCommandFailedException("Some error encountered while executing action: ${throwable.printStackTrace()}") + throw ActionCommandFailedException("Some error encountered while executing action.", throwable) } override fun onClose(code: Int, reason: String) { diff --git a/theodolite/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt b/theodolite/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt index 9f51638f1fd507c3fb4c1ab1fa98dc89ba5af2f9..21d5cb5bc840c5ec76581a0122d3712ec2c2aed9 100644 --- a/theodolite/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt +++ b/theodolite/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt @@ -40,8 +40,6 @@ class KubernetesBenchmarkDeployment( private val LAG_EXPORTER_POD_LABEL_NAME = "app.kubernetes.io/name" private val LAG_EXPORTER_POD_LABEL_VALUE = "kafka-lag-exporter" - - /** * Setup a [KubernetesBenchmark] using the [TopicManager] and the [K8sManager]: * - Create the needed topics.