diff options
author | 2019-09-30 05:00:42 +0000 | |
---|---|---|
committer | 2019-09-30 05:00:42 +0000 | |
commit | 1d4b83754009114523cae90c759daffa9188eb3e (patch) | |
tree | f04dd900e8bf43406c6894c9bbed7d6485cfd236 /main | |
parent | 812b3cb79e7b4f0adff8f44b269cdfa679127c90 (diff) | |
parent | 08f6cbf5307459ac3e91fc2c98f9b76010b23d4a (diff) |
Merge "Fix ovp lcm validation"
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/cli/main/OnapCli.java | 3 |
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); } |