-
Notifications
You must be signed in to change notification settings - Fork 587
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 nil-pointer panic on reportError #4391
Conversation
If result is nil due to Unwrap() or when passed to reportError, the code would panic on `err.Error()`. Closes: knative#4378 Signed-off-by: Michael Gasch <mgasch@vmware.com>
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Welcome @embano1! It looks like this is your first PR to knative/eventing 🎉 |
Hi @embano1. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## master #4391 +/- ##
==========================================
- Coverage 81.13% 81.12% -0.02%
==========================================
Files 287 287
Lines 8032 8033 +1
==========================================
Hits 6517 6517
- Misses 1128 1129 +1
Partials 387 387
Continue to review full report at Codecov.
|
/ok-to-test |
/lgtm |
The following is the coverage report on the affected files.
|
Looks like some of the tests failed with:
|
@thisisnotapril Any ideas what's going on here wrt CLA? |
Looks like all the e2e tests failed with something like this:
|
@googlebot I signed it! |
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.
/lgtm
/approve
Thanks!!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: embano1, n3wscott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
If result is nil due to Unwrap() or when passed to reportError, the code
would panic on
err.Error()
.Fixes: #4378
Signed-off-by: Michael Gasch mgasch@vmware.com
Proposed Changes
Release Note
Docs