-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
etcdctl: move cobra helper of etcdctl from main pkg to etcdctl pkg #18356
Conversation
Hi @ah8ad3. 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. |
/ok-to-test |
Thanks for the pull request, @ah8ad3. IMO, this change makes more sense in its own context than in the other pull request. Looking at the test failure, it seems like you need to rebase your branch. Can you do it so we can start moving forward? Thanks again. |
2ab08b6
to
b0135bc
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
... and 26 files with indirect coverage changes @@ Coverage Diff @@
## main #18356 +/- ##
==========================================
- Coverage 68.89% 68.78% -0.12%
==========================================
Files 420 421 +1
Lines 35788 35901 +113
==========================================
+ Hits 24656 24693 +37
- Misses 9709 9777 +68
- Partials 1423 1431 +8 Continue to review full report in Codecov by Sentry.
|
b0135bc
to
e8f01c3
Compare
Ok rebased, make fixed. I think we are good to go. PTAL @ivanvc |
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.
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
The only concern is that Line 154 in ad942b7
Please let's
|
That is super unlikely for someone to use this, but you are right to ensure we don't break anybody we should do this. I will try to add deprecation note. |
Covered during our triage meeting. @ah8ad3, are you looking into doing Benjamin's suggestion? Or should we close this pull request? |
Thanks for looking into this @ivanvc , and sorry for delaying this task. |
e8f01c3
to
58942d7
Compare
c885b4c
to
1291513
Compare
I can not understand what the problem is with verify failing, am i missing some sort of convention in making a function deprecated? |
…eprecation note for UsageFunc. Signed-off-by: ah8ad3 <ah8ad3@gmail.com>
1291513
to
d42b043
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ah8ad3, ahrtr, ivanvc, jmhbnz 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 |
can you also add a changelog deprecation item for 3.7 (please add a CHANGELOG-3.7.md file), similar to CHANGELOG-3.6.md#deprecations? thx |
Of course i will do that as well @ahrtr |
This PR moves cobra helper of
etcdctl
from main pkg toetcdctl
pkg. This will remove cobra dependency from main pkg which wasn't necessary.This PR was created after suggestion in this comment #18183 (comment)
Part of #17777