mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Fix typo in template validation message
This commit addresses a typo in a template validation message in MetaDataIndexTemplateService.java. Relates #18754
This commit is contained in:
parent
d594d6c07c
commit
080946c915
@ -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<String> indexSettingsValidation = metaDataCreateIndexService.getIndexSettingsValidationErrors(request.settings);
|
||||
|
Loading…
x
Reference in New Issue
Block a user