-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
kubectl version should fail when given extra arguments #107967
kubectl version should fail when given extra arguments #107967
Conversation
@jlsong01: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/sig cli |
9c42b07
to
a3a8efb
Compare
@ardaguclu @yxxhero PTAL |
/retest |
@jlsong01 Incomplete unit test, missing verification with args length greater than 0. WDYT? |
a3a8efb
to
3c3ec32
Compare
@yxxhero Yeah, Thanks for the comments. A unit test case with args length greater than 0 has been added. |
@jlsong01 Validate is an export method. If you directly change the function signature, I don't know whether you need API review. |
@yxxhero Yeah, seems it's better to keep the export method signature unchanged. So, I would add a new function like Any other suggestions are welcome |
@jlsong01 I don't know very well. Need to wait for the owner's reply |
@ardaguclu could you take another look please? |
3c3ec32
to
b2e6a02
Compare
/retest |
/lgtm |
@ardaguclu: changing LGTM is restricted to collaborators 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. |
@dougsland @pwittrock could you review it please? |
ping @dougsland :-) |
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
/assign @soltysh |
Folks, I'd expect to see a changelog entry for this PR. |
Thanks for the comments. The changelog entry has been added into the PR description. PTAL |
@sftim any further comments? |
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! Small change then lgtm
b2e6a02
to
969cc46
Compare
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eddiezane, jlsong01 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 |
/retest |
What type of PR is this?
/kind bug
What this PR does / why we need it:
kubectl version should fail when given extra arguments
Which issue(s) this PR fixes:
Fixes #107955
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: