-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix warning in Connection::tryDeserializeError() #168
Fix warning in Connection::tryDeserializeError() #168
Conversation
Signed-off-by: Thomas Seidl <remus@gmx.net>
@drunken-monkey Your second commit is missing DCO, please? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
============================================
- Coverage 24.19% 24.19% -0.01%
+ Complexity 1938 1936 -2
============================================
Files 246 246
Lines 6865 6862 -3
============================================
- Hits 1661 1660 -1
+ Misses 5204 5202 -2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Thomas Seidl <remus@gmx.net>
ecf7f6f
to
7b432c2
Compare
Sorry, fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See below?
Do add a line to CHANGELOG. This fixes a bug. |
@drunken-monkey You have to amend your last commit to pass DCO, please? |
Signed-off-by: Thomas Seidl <remus@gmx.net>
cc67d75
to
dbd796f
Compare
Can this get brought in? It is causing headaches with AWS OSS |
Need another maintainer to approve. @VachaShah @shyim @harshavamsi ? |
Description
Fixes code in
\OpenSearch\Connections\Connection::tryDeserializeError()
to properly check whether$error['error']['root_cause']
exists before accessing it.Issues Resolved
Closes #167.
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.