diff options
author | sebdet <sebastien.determe@intl.att.com> | 2018-10-22 13:57:28 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2018-10-22 13:57:28 +0200 |
commit | a3fd799170a8da243cf2c383cf979c4823c7bee3 (patch) | |
tree | 037dad5e2cd1d25d37da5feb7d96fa0adf59b0a7 /src/main | |
parent | 6bcae19c6a5c8b4eaeac62a8e9d7a38a1ec4bda2 (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.java | 2 |
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 47bfedc7..1d145625 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: |