-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix non-cache client list #49
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
Merged
k8s-ci-robot
merged 1 commit into
kubernetes-sigs:master
from
DirectXMan12:bug/client-list
Jun 19, 2018
Merged
Fix non-cache client list #49
k8s-ci-robot
merged 1 commit into
kubernetes-sigs:master
from
DirectXMan12:bug/client-list
Jun 19, 2018
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@droot this should fix your issues. The test in the style of the rest of the tests in this package is currently failing. Need to figure out why, but this PR should fix your issue. |
66185c2
to
0083913
Compare
brainfart on the test. should be working now |
droot
reviewed
Jun 19, 2018
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.
/lgtm
This fixes the non-cache client list, which had a null pointer dereference (opts.Namespace), incorrect resource handling (need the resource for the items, not the list itself), and incorrect handling of nil list options (the underlying metav1.ListOptions needs to always be non-nil, even if empty).
0083913
to
fca306d
Compare
/lgtm |
/approve |
justinsb
pushed a commit
to justinsb/controller-runtime
that referenced
this pull request
Dec 7, 2018
Fix non-cache client list
DirectXMan12
pushed a commit
that referenced
this pull request
Jan 31, 2020
Fix an issue in types.ReconcileKey.String()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Indicates a PR has been approved by an approver from all required OWNERS files.
cncf-cla: yes
Indicates the PR's author has signed the CNCF CLA.
lgtm
"Looks good to me", indicates that a PR is ready to be merged.
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes the non-cache client list, which had a null pointer
dereference (opts.Namespace), incorrect resource handling (need the
resource for the items, not the list itself), and incorrect handling of
nil list options (the underlying metav1.ListOptions needs to always be
non-nil, even if empty).