-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
update: cobra.ExactValidArgs
method is deprecated
#18612
Conversation
Hi @Kamandlou. Thanks for your PR. I'm waiting for a etcd-io 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-sigs/prow repository. |
and alose use |
/ok-to-test Hi @Kamandlou, thanks for your pull request. Regarding the changes to use Thanks again, Amir! |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files
... and 21 files with indirect coverage changes @@ Coverage Diff @@
## main #18612 +/- ##
==========================================
- Coverage 68.83% 68.82% -0.01%
==========================================
Files 420 420
Lines 35474 35522 +48
==========================================
+ Hits 24418 24448 +30
- Misses 9636 9650 +14
- Partials 1420 1424 +4 Continue to review full report in Codecov by Sentry.
|
Hi @ivanvc, Done :)) |
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 for addressing this deprecation @Kamandlou. Can you please squash your commits in preparation for merge. Thanks!
d91a94f
to
d965f25
Compare
@jmhbnz Done. |
/retest |
Hi @Kamandlou, I just realized there is another instance in https://github.com/etcd-io/etcd/blob/main/etcdutl%2Fetcdutl%2Fcompletion_commmand.go. Could you please update it too (and squash commits)? Or, it's fine to do it in a follow-up otherwise. Thanks! |
Hi @ivanvc |
Signed-off-by: Kamandlou <[email protected]>
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. Thanks, Amir.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, ivanvc, Kamandlou 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 |
cobra.ExactValidArgs
method is deprecated I updatecobra.ExactValidArgs
method tocobra.MatchAll
method