summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKanagaraj M <mkr1481@gmail.com>2019-09-30 06:19:30 +0200
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-09-30 06:45:54 +0200
commit08f6cbf5307459ac3e91fc2c98f9b76010b23d4a (patch)
treebbacf435b123328961858076e948d83c89b723f6 /main
parent6e167e934b0d384a3c588cfc88c583bdddd1bfaa (diff)
Fix ovp lcm validation
Issue-ID: CLI-166 Change-Id: I0c8def49c6d3eb79d4686b40899ff165ae2461ce Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java
index cec9cc01..4119c818 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -764,7 +764,8 @@ public class OnapCli {
SampleYamlGenerator.generateSampleYaml(cmd.getName(), args, cmd.getResult().print(),
cmd.getInfo().getProduct(),
OnapCommandConfig.getPropertyValue(OnapCommandConstants.SAMPLE_GEN_TARGET_FOLDER) + "/" + cmd.getSchemaName().replaceAll(".yaml", "") + "-sample.yaml",
- cmd.getResult().isDebug());
+ cmd.getResult().isDebug(),
+ OnapCommandConfig.getPropertyValue(OnapCommandConstants.SAMPLE_GEN_NAME));
} catch (IOException error) {
throw new OnapCommandInvalidSample(this.cmdName, error);
}