Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[APACHECNF] Update healthcheck and add scale workflow
[demo.git]
/
tutorials
/
ApacheCNF
/
templates
/
cba
/
Scripts
/
kotlin
/
K8sHealthCheck.kt
diff --git
a/tutorials/ApacheCNF/templates/cba/Scripts/kotlin/K8sHealthCheck.kt
b/tutorials/ApacheCNF/templates/cba/Scripts/kotlin/K8sHealthCheck.kt
index
dd87c6f
..
30b4d96
100644
(file)
--- a/
tutorials/ApacheCNF/templates/cba/Scripts/kotlin/K8sHealthCheck.kt
+++ b/
tutorials/ApacheCNF/templates/cba/Scripts/kotlin/K8sHealthCheck.kt
@@
-119,7
+119,6
@@
open class K8sHealthCheck : AbstractScriptComponentFunction() {
}
override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {
}
override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {
- log.info("Executing Recovery")
- bluePrintRuntimeService.getBluePrintError().addError("${runtimeException.message}", getName())
+ this.addError("${runtimeException.message}")
}
}
}
}