Open thedtripp opened 6 days ago
Hi @thedtripp. 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 /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
What are your thoughts on this PR @jmhbnz?
This looks good overall. I wonder if a better approach would be to add a doc.go
file to the rest of the packages that don't have the module documentation. However, I also don't know if that's something we want to do for 3.4 or if we should go with the current approach. Thoughts, @jmhbnz?
/ok-to-test
/retitle [3.4] formatting: added package comments to fix revive linter errors.
This looks good overall. I wonder if a better approach would be to add a
doc.go
file to the rest of the packages that don't have the module documentation. However, I also don't know if that's something we want to do for 3.4 or if we should go with the current approach. Thoughts, @jmhbnz?
This decision I think is best to be made by @ahrtr and/or @serathius who are were around for much more of 3.4 development than I was. Personally I would lean towards adding missing doc.go
files but that might be overkill.
This is meant to address the failing revive checks mentioned in this issue: https://github.com/etcd-io/etcd/issues/17472
Screenshot of Revive linter errors:![image](https://github.com/etcd-io/etcd/assets/38776199/4bcdaba9-6edc-4c08-95dd-3ae033d8668c)
Output with code changes:![image](https://github.com/etcd-io/etcd/assets/38776199/7d7da8c7-d31c-4052-bdbb-70a99ffc21e3)