aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2021-03-24 13:13:49 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-24 13:13:49 +0000
commit6c28da342039728e77fbe1098921172848057d31 (patch)
tree5644bd68ca4f955ea8fb1e8e3b75d8ecb41e2e62 /components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt
parent02460042f5ff66c0e98d04a282d5ccd1f28ea083 (diff)
parentaa3f6d9d6d87d265319820eaecb77dabed010a7b (diff)
Merge "Refactoring to enable on_failure for imperative workflow" into honolulu
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt
index 606e76e84..c34decca9 100644
--- a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt
+++ b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/HealthCheck.kt
@@ -89,7 +89,7 @@ open class HealthCheck : AbstractScriptComponentFunction() {
override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {
log.info("Executing Recovery")
- bluePrintRuntimeService.getBlueprintError().addError("${runtimeException.message}")
+ addError("${runtimeException.message}")
}
}