-
Notifications
You must be signed in to change notification settings - Fork 64
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
414 informers use best match #423
Conversation
✔️ Deploy Preview for elated-stonebraker-105904 canceled. 🔨 Explore the source changes: a37ccdb 🔍 Inspect the deploy log: https://app.netlify.com/sites/elated-stonebraker-105904/deploys/61ae1b35395b7e000886942c |
d53e66a
to
95521f1
Compare
|
||
var selectorGetters []repository.SelectorGetter | ||
for _, item := range scList.Items { | ||
item := item |
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.
Not blocking:
Is this just to create a copy of the object? Would persistentItem := item.DeepCopy()
suit? Would it be more grokkable?
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.
I think that would work too but I was trying to be consistent with the way the controller finds the best matching SC (see here)
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.
Just the one change to fix the test. Otherwise, lgtm!
95521f1
to
a37ccdb
Compare
Closes #414