clean up gogo: drop nullable=false from etcdserverpb package - #21292
Conversation
|
Hi @liggitt. 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. DetailsInstructions 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 45 files with indirect coverage changes @@ Coverage Diff @@
## main #21292 +/- ##
==========================================
- Coverage 68.99% 68.46% -0.53%
==========================================
Files 410 428 +18
Lines 34606 35256 +650
==========================================
+ Hits 23876 24138 +262
- Misses 9343 9729 +386
- Partials 1387 1389 +2 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
f2182d7 to
7d44e6d
Compare
|
@ahrtr this is ready |
|
/retest |
Signed-off-by: Jordan Liggitt <liggitt@google.com>
Signed-off-by: Jordan Liggitt <liggitt@google.com>
7d44e6d to
88fbd40
Compare
|
pls fix the workflow failure |
uh... it's complaining about something that is not accurate ... but I didn't touch that line in this PR ... I'm guessing staticcheck doesn't understand m := s.cl.MemberByName(s.name)
- md := &etcdserverpb.Metadata{NodeID: uint64(m.ID), ClusterID: uint64(s.cl.ID())}
+ md := &etcdserverpb.Metadata{NodeID: new(uint64(m.ID)), ClusterID: new(uint64(s.cl.ID()))}
metadata, merr := md.Marshal() |
Signed-off-by: Jordan Liggitt <liggitt@google.com>
88fbd40 to
8956ed7
Compare
|
yup, dominikh/go-tools#1698 was the issue, added a nolint to that line for now |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, liggitt, serathius The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
xref #14533 (comment)
splits out dropping gogoproto.nullable=false option from etcdserverpb package, switches in-tree callers that I could find to use the nil-safe getters