Add check for nil StatsReporter in webhook package#518
Conversation
|
/assign @grantr |
|
I validated that the fix passes the e2e tests for knative/serving master branch after updating the knative.dev/pkg version to my personal fork with the fix. |
|
/assign @n3wscott |
|
/lgtm |
evankanderson
left a comment
There was a problem hiding this comment.
/approve
/hold
In case you want to change the return type of NewAdmissionController
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anniefu, evankanderson The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/hold cancel |
I didn't suggest that, since it's a NBC change and requires changes to the downstream consumers, I presume. |
What does NBC stand for? The constructor is introduced in this PR, so there are no downstream consumers that need to change. |
|
not backwards compatible :-) but if it's new then it doesn't matter -- returning error is a preferred method. |
evankanderson
left a comment
There was a problem hiding this comment.
One more API suggestion, having read this again without the panic...
evankanderson
left a comment
There was a problem hiding this comment.
/lgtm
/hold
To consider the change in API, but I don't want to completely block fixing eventing.
|
/hold cancel |
|
@anniefu: you cannot LGTM your own PR. DetailsIn response to this:
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. |
|
/lgtm |
Fixes #517
Also add constructors for consumers to use.