-
Notifications
You must be signed in to change notification settings - Fork 10k
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: fix json output #19469
base: main
Are you sure you want to change the base?
etcdctl: fix json output #19469
Conversation
Hi @kstrifonoff. 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. |
4de0af7
to
237116d
Compare
237116d
to
d39583f
Compare
/cc @ivanvc |
Hi @kstrifonoff, thanks for the pull request. I'm respectful to the original contributor who asked to work on this. Our guideline is to re-assign after a week of no answer when asking a contributor for updates. A couple of suggestions by quickly looking at the code.
Thanks again for your pull request :) |
240d3a0
to
b1cc94c
Compare
1510dc9
to
db2b56f
Compare
Hi @ivanvc , I’ve made some changes to my initial suggestions based on your feedback. Now, the “JSON with Hex” implementation is just a slight extension of the default “printJSON” implementation. I think it should probably be moved into the “utils” package. Here are a few things I noticed:
|
/ok-to-test |
The e2e tests already exist, my suggestion is to expand them to cover the new cases you added: etcd/tests/e2e/ctl_v3_member_test.go Lines 206 to 255 in 9f1709e
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
... and 22 files with indirect coverage changes @@ Coverage Diff @@
## main #19469 +/- ##
==========================================
- Coverage 68.81% 68.66% -0.15%
==========================================
Files 421 421
Lines 35852 35940 +88
==========================================
+ Hits 24672 24679 +7
- Misses 9753 9838 +85
+ Partials 1427 1423 -4 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
db2b56f
to
3c14ffe
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kstrifonoff The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
20eec23
to
6745ef6
Compare
768a4cc
to
8d4f395
Compare
* extend e2e test Signed-off-by: Kirill Trifonov <[email protected]>
8d4f395
to
13c7989
Compare
hi @ivanvc I’ve also fixed all the remaining Let me know if you have any questions! |
@ivanvc just a friendly reminder: could you please review this once you have some time? |
Fix #19262