-
Notifications
You must be signed in to change notification settings - Fork 46
Match resource owners at top of reduce #1891
Conversation
53e16d1
to
84a3e3f
Compare
a55099f
to
a891230
Compare
e2a5120
to
8df2c30
Compare
Checks for resource owner matches in the top of the reduce func using the selector owners, instead of waiting until the path match check.
a891230
to
9b48414
Compare
} | ||
|
||
sel.Include(sel.Users(opts.Users)) | ||
sel.Include(sel.Users(users)) |
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.
is this still required? We're already setting users on line 137
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.
Removal will happen in one of the next PRs.
looks like this could use some manual end-to-end testing as well. Doing We should also make a follow-up issue for how selectors are displayed in the output at the end if multiple users are backed up
|
@ashmrtn That bug exists on main. I'll address it directly. And the list display can be kicked to a follow-up PR as well. |
Aviator status
This PR was merged using Aviator. |
Kudos, SonarCloud Quality Gate passed!
|
Description
Checks for resource owner matches in the top
of the reduce func using the selector owners,
instead of waiting until the path match check.
Does this PR need a docs update or release note?
Type of change
Issue(s)
Test Plan