Skip to content

Commit 4128a1f

Browse files
committed
fix: add validation helpers to enforce regex validations for name fields
Signed-off-by: vikhy-aws <[email protected]>
1 parent cc878b5 commit 4128a1f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt

-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ fun isValidName(name: String): Boolean {
9191
return name.matches(regex)
9292
}
9393

94-
95-
9694
fun getInvalidNameChars(): String {
9795
return INVALID_NAME_CHARS
9896
}

0 commit comments

Comments
 (0)