commit | fbf0efaf2fbb698e204bc278352e74b9cb1dee79 | [log] [tgz] |
---|---|---|
author | Kanagaraj Manickam <mkr1481@gmail.com> | Mon Apr 13 14:43:06 2020 +0530 |
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | Mon Apr 13 14:43:06 2020 +0530 |
tree | 1c9a937c095597d02e84e45978a5b7be6dba28a4 | |
parent | 282234a567aa07689d92512145f3143c36e1cd1e [diff] |
Fix csar validation success status Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: If041e271c28543b8d6f884795201e094f73e4459
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 @@ } } - result.setPassed(result.getErrors().isEmpty()); + result.setPassed(overallPass); validation.getResults().add(result); } catch (Exception e) { result.setPassed(false);