diff --git a/src/main/kotlin/org/opensearch/replication/util/ValidationUtil.kt b/src/main/kotlin/org/opensearch/replication/util/ValidationUtil.kt index 5a08374a..b057e414 100644 --- a/src/main/kotlin/org/opensearch/replication/util/ValidationUtil.kt +++ b/src/main/kotlin/org/opensearch/replication/util/ValidationUtil.kt @@ -122,6 +122,7 @@ object ValidationUtil { if ((pattern?.startsWith('_') ?: false) || (pattern?.startsWith('-') ?: false)) validationException.addValidationError("Autofollow pattern: $pattern must not start with '_' or '-'") + } /**