diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2020-04-13 14:43:06 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-04-13 14:43:06 +0530 |
commit | fbf0efaf2fbb698e204bc278352e74b9cb1dee79 (patch) | |
tree | 1c9a937c095597d02e84e45978a5b7be6dba28a4 /csarvalidation/src | |
parent | 282234a567aa07689d92512145f3143c36e1cd1e (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')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java | 2 |
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); |