re-enable router metrics test#17753
Conversation
pkg/router/metrics/metrics.go
Outdated
| authorized, reason, err := l.Authorizer.Authorize(scopedRecord) | ||
| if authorized != authorizer.DecisionAllow || err != nil { | ||
| fmt.Printf("#### 1f\n") | ||
| if !ok || errors.IsUnauthorized(err) { |
There was a problem hiding this comment.
Checking unauthorized on this error isn't correct since you get that when the router can't issue a SAR.
ok is the wrong ok post-rebase. I'll fix that up. Once I fix those two up, this should be ok.
I think I found it. I'll fix up the pull tomorrow. |
de921c0 to
905f605
Compare
|
/retest |
|
Test passed. /assign @smarterclayton |
905f605 to
02c5991
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, enj The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/retest |
02c5991 to
f6b0568
Compare
|
Automatic merge from submit-queue (batch tested with PRs 16281, 17293, 17717, 17753, 17830). |
fixes #17752
Add debugging for now