aboutsummaryrefslogtreecommitdiffstats
path: root/validate/sample-yaml-generator
diff options
context:
space:
mode:
Diffstat (limited to 'validate/sample-yaml-generator')
-rw-r--r--validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java
index 5da8ce22..d45b50a4 100644
--- a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java
+++ b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java
@@ -27,7 +27,7 @@ public class SampleYamlGenerator {
static int nTab;
- public static void generateSampleYaml(List<String> input, String ouput, String version,
+ public static void generateSampleYaml(List<String> input, String output, String version,
String targetPath, boolean debug) throws IOException {
String cmdName = input.get(0);
@@ -43,7 +43,7 @@ public class SampleYamlGenerator {
writeKeyValuePair(writer, "name", cmdName);
writeKeyValuePair(writer, "input", input.stream().skip(1).collect(Collectors.joining(" ")).trim());
writeKeyValuePair(writer, "moco", new File(targetPath).getName().replaceAll("-sample.yaml", "-moco.json"));
- writeMultilineKeyValue(writer, "ouput", ouput.trim(), debug);
+ writeMultilineKeyValue(writer, "output", output.trim(), debug);
writeEndKey();
writeEndKey();