[APACHECNF] Update healthcheck and add scale workflow
[demo.git] / tutorials / ApacheCNF / templates / cba / Scripts / kotlin / K8sHealthCheck.kt
index dd87c6f..30b4d96 100644 (file)
@@ -119,7 +119,6 @@ open class K8sHealthCheck : AbstractScriptComponentFunction() {
     }
 
     override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {
-        log.info("Executing Recovery")
-        bluePrintRuntimeService.getBluePrintError().addError("${runtimeException.message}", getName())
+        this.addError("${runtimeException.message}")
     }
 }