Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.11] Change doc level query name validation #642

Open
wants to merge 1 commit into
base: 2.11
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 9beae87 from #630.

* change validation and tests

Signed-off-by: jowg-amazon <[email protected]>

* change regex to 0-256 chars

Signed-off-by: jowg-amazon <[email protected]>

* moved validation to common utils and fix test

Signed-off-by: jowg-amazon <[email protected]>

* remove TODO

Signed-off-by: jowg-amazon <[email protected]>

* ensure name is at lest 1 char

Signed-off-by: jowg-amazon <[email protected]>

* change error message

Signed-off-by: jowg-amazon <[email protected]>

---------

Signed-off-by: jowg-amazon <[email protected]>
(cherry picked from commit 9beae87)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants