Skip to content
Snippets Groups Projects
Commit 4ee6a01a authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

minor code changes

parent db04988b
No related branches found
No related tags found
1 merge request!171Introduce ResourceSets to make loading of resource files more flexible
...@@ -67,8 +67,8 @@ class TheodoliteController( ...@@ -67,8 +67,8 @@ class TheodoliteController(
private fun runExecution(execution: BenchmarkExecution, benchmark: KubernetesBenchmark) { private fun runExecution(execution: BenchmarkExecution, benchmark: KubernetesBenchmark) {
val modifier = ConfigOverrideModifier( val modifier = ConfigOverrideModifier(
execution = execution, execution = execution,
resources = benchmark.appResourceSets.flatMap { it -> it.loadResourceSet().map { it.first } } resources = benchmark.loadKubernetesResources(benchmark.appResourceSets).map { it.first }
+ benchmark.loadGenResourceSets.flatMap { it -> it.loadResourceSet().map { it.first } } + benchmark.loadKubernetesResources(benchmark.loadGenResourceSets).map { it.first }
) )
modifier.setAdditionalLabels( modifier.setAdditionalLabels(
labelValue = execution.name, labelValue = execution.name,
......
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