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);