Skip to content

[Backport 2.7] Fix NPE and add additional graceful error handling#2689

Merged
RyanL1997 merged 1 commit into2.7from
backport/backport-2687-to-2.7
Apr 17, 2023
Merged

[Backport 2.7] Fix NPE and add additional graceful error handling#2689
RyanL1997 merged 1 commit into2.7from
backport/backport-2687-to-2.7

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 Report

Merging #2689 (14eb390) into 2.7 (24a5b4f) will increase coverage by 0.02%.
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.7    #2689      +/-   ##
============================================
+ Coverage     61.17%   61.20%   +0.02%     
+ Complexity     3262     3261       -1     
============================================
  Files           258      259       +1     
  Lines         18157    18183      +26     
  Branches       3234     3234              
============================================
+ Hits          11108    11128      +20     
- Misses         5480     5486       +6     
  Partials       1569     1569              
Impacted Files Coverage Δ
.../opensearch/security/OpenSearchSecurityPlugin.java 80.08% <100.00%> (+0.12%) ⬆️
...ecurity/support/GuardedSearchOperationWrapper.java 100.00% <100.00%> (ø)

... and 2 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.

@RyanL1997 RyanL1997 mentioned this pull request Apr 17, 2023
3 tasks
@RyanL1997 RyanL1997 merged commit f7deb94 into 2.7 Apr 17, 2023
@RyanL1997 RyanL1997 deleted the backport/backport-2687-to-2.7 branch April 17, 2023 19:28
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.

4 participants