summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2020-04-03 05:52:07 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-04-03 05:52:07 +0530
commit282234a567aa07689d92512145f3143c36e1cd1e (patch)
tree44ff061607bcad28ce60dcfb91199161aa5f2383 /csarvalidation/src/main
parent9d1dd5150e7ed051dafb0c1ffd442deda3d1075a (diff)
Fix csar validation success status
Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Ib131e7f9c4765c676f14e52b06e4165e602924bb
Diffstat (limited to 'csarvalidation/src/main')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
index 3fee188..a5a13e3 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
@@ -70,6 +70,7 @@ public abstract class VTPValidateCSARBase extends OnapCommand {
}
this.getResult().setOutput(this.errors);
+ this.getResult().setPassed(this.errors.isEmpty());
}
private boolean isPnf() {