-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
🐛 Fix SubResourceCreateOptions signature in subresource client #2766
🐛 Fix SubResourceCreateOptions signature in subresource client #2766
Conversation
The current signature of SubResourceCreateOptions does not match the interface definition of SubResourceCreateOption because of a typo in the method `ApplyToSubResourceCreate` name. This commit fixes the name.
Welcome @Fricounet! |
Hi @Fricounet. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
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.
thanks
LGTM label has been added. Git tree hash: 945b51a8d284603d1f8464c24d72c3a3128036e8
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, Fricounet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Fricounet: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
@alvaroaleman it seems like the api-diff test failed. Does it mean that I should modify the PR title to be a breaking change? Or is it fine to have it failed for a bugfix? Because at the moment, the current API is simply broken for users 🤔 |
@Fricounet its fine given this is a bugfix and I can not imagine that someone manually called this method before, which would be the only situation where this would break someone |
No strong opinion, but should this be cherry-picked? Looks like before this PR the option was basically useless |
I'd leave it unpicked for the moment as in theory it could be breaking and given that no one even noticed this, it doesn't appear to be widely used. |
The current signature of SubResourceCreateOptions does not match the interface definition of SubResourceCreateOption because of a typo in the method
ApplyToSubResourceCreate
name. This PR fixes the name.It also modifies the existing test to actually use the options provided so that if an error like this were to occur again, it would fail to compile.