aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-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);
}