summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2018-10-22 13:57:28 +0200
committersebdet <sebastien.determe@intl.att.com>2018-10-22 13:57:28 +0200
commita3fd799170a8da243cf2c383cf979c4823c7bee3 (patch)
tree037dad5e2cd1d25d37da5feb7d96fa0adf59b0a7 /src/main
parent6bcae19c6a5c8b4eaeac62a8e9d7a38a1ec4bda2 (diff)
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>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/clamp/clds/model/CldsModel.java2
1 files changed, 1 insertions, 1 deletions
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 47bfedc71..1d1456256 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 @@ public class CldsModel {
}
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: