summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2020-04-13 14:43:06 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-04-13 14:43:06 +0530
commitfbf0efaf2fbb698e204bc278352e74b9cb1dee79 (patch)
tree1c9a937c095597d02e84e45978a5b7be6dba28a4 /csarvalidation/src/main/java
parent282234a567aa07689d92512145f3143c36e1cd1e (diff)
Fix csar validation success status
Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: If041e271c28543b8d6f884795201e094f73e4459
Diffstat (limited to 'csarvalidation/src/main/java')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
index 043d4dc..30eb043 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
@@ -237,7 +237,7 @@ public class VTPValidateCSAR extends OnapCommand {
}
}
- result.setPassed(result.getErrors().isEmpty());
+ result.setPassed(overallPass);
validation.getResults().add(result);
} catch (Exception e) {
result.setPassed(false);