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

Added catch for unexpected inputs. #1442

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

AWSHurneyt
Copy link
Collaborator

Description

Added catch for unexpected inputs.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
@AWSHurneyt
Copy link
Collaborator Author

The security tests have been failing for unrelated reasons.
https://github.com/opensearch-project/security-analytics/actions/runs/12365001015/job/34509216926?pr=1423

Will investigate those test failures separately.

@@ -36,7 +38,7 @@ static Source readFrom(StreamInput sin) throws IOException {
}
}

static Source parse(XContentParser xcp) throws IOException {
public static Source parse(XContentParser xcp) throws IOException {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: This can remain package-private since the test class is in the same package

@AWSHurneyt AWSHurneyt merged commit dca74ce into opensearch-project:main Jan 8, 2025
8 of 14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2025
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit dca74ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2025
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit dca74ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2025
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit dca74ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2025
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit dca74ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2025
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit dca74ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AWSHurneyt added a commit that referenced this pull request Jan 28, 2025
(cherry picked from commit dca74ce)

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants