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

clean up

parent 669e6aa7
No related branches found
No related tags found
1 merge request!201Introduce action commands
......@@ -76,9 +76,9 @@ class ActionCommand(val client: NamespacedKubernetesClient) {
}
}
}
logger.info { "Execution Output Stream is \n $out" }
logger.info { "Execution Error Stream is \n $error" }
logger.info { "ERRORCHANNEL IS: \n $errChannelStream" }
logger.debug { "Execution Output Stream is \n $out" }
logger.debug { "Execution Error Stream is \n $error" }
logger.debug { "Execution ErrorChannel is: \n $errChannelStream" }
return getExitCode(errChannelStream)
}
......
package theodolite.benchmark
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import io.quarkus.runtime.annotations.RegisterForReflection
@JsonDeserialize
......
......@@ -29,7 +29,7 @@ class TheodoliteController(
private val executionCRDClient: MixedOperation<ExecutionCRD, BenchmarkExecutionList, Resource<ExecutionCRD>>,
private val benchmarkCRDClient: MixedOperation<BenchmarkCRD, KubernetesBenchmarkList, Resource<BenchmarkCRD>>,
private val executionStateHandler: ExecutionStateHandler,
private val benchmarkSateChecker: BenchmarkStateChecker
private val benchmarkStateChecker: BenchmarkStateChecker
) {
lateinit var executor: TheodoliteExecutor
......@@ -41,7 +41,7 @@ class TheodoliteController(
sleep(5000) // wait until all states are correctly set
while (true) {
reconcile()
benchmarkSateChecker.start(true)
benchmarkStateChecker.start(true)
sleep(2000)
}
}
......
......@@ -134,7 +134,7 @@ class TheodoliteOperator {
benchmarkCRDClient = getBenchmarkClient(client),
executionCRDClient = getExecutionClient(client),
executionStateHandler = executionStateHandler,
benchmarkSateChecker = benchmarkStateChecker
benchmarkStateChecker = benchmarkStateChecker
)
}
return this.controller
......
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