diff options
author | Arthur Martella <amartell@research.att.com> | 2017-10-09 12:54:58 -0400 |
---|---|---|
committer | Arthur Martella <amartell@research.att.com> | 2017-10-09 12:54:58 -0400 |
commit | 4f33a7ce0304fa7a2f1b6c584035c92f1b41303e (patch) | |
tree | 5cd5ea4c3fcc6f110fb113eccdf699ee4d835758 | |
parent | d53a72c4f5a613c1dee59a1eab9d1c8dd800d28a (diff) |
Change if condition to not always be false
Issue: SO-197
Change-Id: I93f8ea9deaea5b2f08b34394fcf2b2362718ca43
Signed-off-by: Arthur Martella <amartell@research.att.com>
-rw-r--r-- | asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java index 24950db916..b6dddacd7c 100644 --- a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java @@ -98,6 +98,11 @@ public class ToscaResourceInstaller {// implements IVfResourceInstaller { throws ArtifactInstallerException {
boolean status = false;
VfResourceStructure vfResourceStructure = (VfResourceStructure)vfResourceStruct;
+ try {
+ status = vfResourceStructure.isDeployedSuccessfully();
+ } catch (RuntimeException e) {
+ status = false;
+ }
try {
|