aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-intermediary/src/main/java/org
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-07-19 14:47:23 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2023-07-19 14:58:46 +0000
commita50ba1e7676ff0b535e9f443b50a66bbd44e5110 (patch)
treec1191b927168043d3141385d39c78eae6e01dd5f /participant/participant-intermediary/src/main/java/org
parent7815def0c52559f8c64b70f5f4df9648c7b8f70d (diff)
Fix restart flag in ACM
Fix the missing message back from participant to ACM in restart scenario. Issue-ID: POLICY-4772 Change-Id: Ie0104a5f30a470b02994281aa50f047d33f5ef8d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-intermediary/src/main/java/org')
-rwxr-xr-x[-rw-r--r--]participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandler.java b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandler.java
index 334d6a89d..bd5f1427e 100644..100755
--- a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandler.java
+++ b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandler.java
@@ -83,7 +83,7 @@ public class AutomationCompositionOutHandler {
return;
}
- if ((element.getRestarting() != null)
+ if ((element.getRestarting() == null)
&& ((deployState != null && lockState != null) || (deployState == null && lockState == null))) {
LOGGER.error("state error {} and {} cannot be handled", deployState, lockState);
return;