-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NewFakeClientWithScheme dies silently #354
Comments
/kind bug |
a) that should probably be a panic, not a log-then-exit. I suspect it was an incorrectly replaced pattern from our purge of fatalf (which doesn't existing in logr). b) you should generally set up logging in |
/good-first-issue /priority backlog |
@DirectXMan12: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@DirectXMan12 Can i work on this issue ? |
go ahead. Can't officially assign unless you're an org member, but consider it assigned :-) /assign @anthonyho007 |
@DirectXMan12: GitHub didn't allow me to assign the following users: anthonyho007. Note that only kubernetes-sigs members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
close as per above PRs |
Current master commit:
controller-runtime/pkg/client/fake/client.go
Line 65 in 45d6520
This line does not result in actual logging in my case, just results (confusingly) in a call to os.Exit(1).
Simple test case (replace clusterautoscaler with a suitable object that is not part of default scheme):
The text was updated successfully, but these errors were encountered: