Skip to content
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

etcdserver: address var naming lint rule #17614

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

ivanvc
Copy link
Member

@ivanvc ivanvc commented Mar 19, 2024

Part of #17578.

Due to the number of changes required to update (*EtcdServer) MemberId to MemberID, I decided to split this PR into two commits:

  1. Address all of the issues in server/etcdserver
  2. Address renaming (*EtcdServer) MemberId to MemberID

I deprecated the two exported functions that I had to rename:

  1. (*CheckRegistry)
  2. (*EtcdServer) MemberId

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

Signed-off-by: Ivan Valdes <ivan@vald.es>
@ivanvc ivanvc mentioned this pull request Mar 19, 2024
20 tasks
Comment on lines +790 to +792
//revive:disable:var-naming
func (s *store) JsonStats() []byte {
//revive:enable:var-naming
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to ignore this warning, as it is part of the v2 API, which I believe will be deprecated for v3.6.

@ahrtr ahrtr merged commit 97029d7 into etcd-io:main Mar 19, 2024
38 checks passed
@ivanvc ivanvc deleted the address-etcdserver-var-naming-lint-rule branch March 20, 2024 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants