From 080946c91551cc3008db41a8fed5a780becf78b3 Mon Sep 17 00:00:00 2001 From: Jared Carey Date: Mon, 6 Jun 2016 15:00:13 -0600 Subject: [PATCH] Fix typo in template validation message This commit addresses a typo in a template validation message in MetaDataIndexTemplateService.java. Relates #18754 --- .../cluster/metadata/MetaDataIndexTemplateService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexTemplateService.java b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexTemplateService.java index 167dea5cf42..8f59ea3a527 100644 --- a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexTemplateService.java +++ b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexTemplateService.java @@ -256,7 +256,7 @@ public class MetaDataIndexTemplateService extends AbstractComponent { validationErrors.add("template must not start with '_'"); } if (!Strings.validFileNameExcludingAstrix(request.template)) { - validationErrors.add("template must not container the following characters " + Strings.INVALID_FILENAME_CHARS); + validationErrors.add("template must not contain the following characters " + Strings.INVALID_FILENAME_CHARS); } List indexSettingsValidation = metaDataCreateIndexService.getIndexSettingsValidationErrors(request.settings);