Closed Harwayne closed 3 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Harwayne
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest
/retest
Do we have an issue for this? I'd like to learn more about the motivation.
Do we have an issue for this? I'd like to learn more about the motivation.
I didn't make an issue for these. The eventual goal is #2034, Channels are backed by BrokerCells. I was hoping I could finish over the holidays, but didn't make it. It entailed #2026, #2027, and #2028. With #2029, #2030, #2032, and #2034 still outstanding.
Created #2037 to track the overall issue.
Friendly ping, now that release-0.20
has been cut.
The following is the coverage report on the affected files.
Say /test pull-google-knative-gcp-go-coverage
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/broker/config/cache.go | 79.3% | 74.3% | -5.0 |
pkg/broker/config/key.go | 78.1% | 81.5% | 3.4 |
pkg/broker/config/memory/memory.go | 98.0% | 98.0% | 0.0 |
pkg/broker/handler/fanout.go | 89.1% | 90.9% | 1.8 |
/retest /lgtm /hold My latest comments are optional, please unhold if you don't want to fix it.
Make sense.
On Fri, Jan 15, 2021 at 1:52 PM Adam Harwayne notifications@github.com wrote:
@Harwayne commented on this pull request.
In pkg/broker/config/key.go https://github.com/google/knative-gcp/pull/2029#discussion_r558511772:
- if ctt, err := validateCellTenantTypeFromString(ts); err != nil {
- return nil, err
- } else {
- t = ctt
- }
I thought about it, but have a strong dislike for when := and = would cause issues. In this case, the compiler would still catch the = error, as t would be unused, but even so, I prefer it this more explicit way. What do you think?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/google/knative-gcp/pull/2029#discussion_r558511772, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE6CNAAMPHAJO6DUP3EZQ3S2CFGPANCNFSM4VNZUVUA .
/unhold
Proposed Changes
Release Note