diff --git a/src/main/java/org/opensearch/flowframework/model/Template.java b/src/main/java/org/opensearch/flowframework/model/Template.java index 7d08ef240..70e640949 100644 --- a/src/main/java/org/opensearch/flowframework/model/Template.java +++ b/src/main/java/org/opensearch/flowframework/model/Template.java @@ -366,7 +366,7 @@ public static Template parseFromDocumentSource(String documentSource) throws IOE } } if (name == null) { - throw new IOException("An template object requires a name."); + throw new IOException("A template object requires a name."); } return new Template( @@ -507,7 +507,7 @@ public static Template parse(XContentParser parser) throws IOException { } } if (name == null) { - throw new IOException("An template object requires a name."); + throw new IOException("A template object requires a name."); } return new Template(