Fix deploy
Deploy action should not be available when it has been already deployed
Issue-ID: CLAMP-229
Change-Id: I155bcd3c1fc2cd8ba5813a9e876b1eff521ebde3
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsModel.java b/src/main/java/org/onap/clamp/clds/model/CldsModel.java
index 47bfedc..1d14562 100644
--- a/src/main/java/org/onap/clamp/clds/model/CldsModel.java
+++ b/src/main/java/org/onap/clamp/clds/model/CldsModel.java
@@ -226,7 +226,7 @@
}
break;
case CldsEvent.ACTION_DEPLOY:
- permittedActionCd = Arrays.asList(CldsEvent.ACTION_DEPLOY, CldsEvent.ACTION_UNDEPLOY,
+ permittedActionCd = Arrays.asList(CldsEvent.ACTION_UNDEPLOY,
CldsEvent.ACTION_UPDATE, CldsEvent.ACTION_STOP);
break;
case CldsEvent.ACTION_RESTART: