aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2019-09-30 05:00:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-30 05:00:42 +0000
commit1d4b83754009114523cae90c759daffa9188eb3e (patch)
treef04dd900e8bf43406c6894c9bbed7d6485cfd236 /main
parent812b3cb79e7b4f0adff8f44b269cdfa679127c90 (diff)
parent08f6cbf5307459ac3e91fc2c98f9b76010b23d4a (diff)
Merge "Fix ovp lcm validation"
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);
}