Skip to content

[Backport 2.x] Fix NPE and add additional graceful error handling#2688

Merged
cwperks merged 1 commit into2.xfrom
backport/backport-2687-to-2.x
Apr 18, 2023
Merged

[Backport 2.x] Fix NPE and add additional graceful error handling#2688
cwperks merged 1 commit into2.xfrom
backport/backport-2687-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport ed4df62 from #2687

* Fix NPE and add additional graceful error handling

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Add new lines at end of file

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Run spotlessApply

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Remove unused import

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* volatile to final

Signed-off-by: Craig Perkins <cwperx@amazon.com>

---------

Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit ed4df62)
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 17, 2023

Codecov Report

Merging #2688 (e008c5a) into 2.x (24a5b4f) will increase coverage by 0.03%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##                2.x    #2688      +/-   ##
============================================
+ Coverage     61.17%   61.21%   +0.03%     
  Complexity     3262     3262              
============================================
  Files           258      259       +1     
  Lines         18157    18183      +26     
  Branches       3234     3234              
============================================
+ Hits          11108    11131      +23     
- Misses         5480     5485       +5     
+ Partials       1569     1567       -2     
Impacted Files Coverage Δ
.../opensearch/security/OpenSearchSecurityPlugin.java 80.08% <100.00%> (+0.12%) ⬆️
...ecurity/support/GuardedSearchOperationWrapper.java 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cwperks cwperks merged commit 02633c5 into 2.x Apr 18, 2023
@cwperks cwperks deleted the backport/backport-2687-to-2.x branch April 18, 2023 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants