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

*: integrate https://github.com/mgechev/revive with fmt tests #9951

Merged
merged 7 commits into from
Jul 23, 2018

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Jul 21, 2018

https://github.com/mgechev/revive is pretty fast adding only 5 seconds to total test runtime.

Masked some of the warnings as TODOs.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #9951 into master will increase coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9951      +/-   ##
==========================================
+ Coverage   69.12%   69.15%   +0.03%     
==========================================
  Files         386      386              
  Lines       35784    35783       -1     
==========================================
+ Hits        24735    24747      +12     
- Misses       9232     9236       +4     
+ Partials     1817     1800      -17
Impacted Files Coverage Δ
pkg/adt/interval_tree.go 86.48% <0%> (-4.21%) ⬇️
proxy/grpcproxy/util.go 100% <100%> (ø) ⬆️
clientv3/lease.go 91.32% <100%> (ø) ⬆️
integration/cluster.go 82.12% <100%> (ø) ⬆️
etcdserver/api/v2auth/auth.go 72.33% <100%> (ø) ⬆️
clientv3/balancer/resolver/endpoint/endpoint.go 86.66% <100%> (ø) ⬆️
etcdserver/api/v2store/store.go 88.57% <100%> (+0.22%) ⬆️
pkg/cpuutil/endian.go 57.14% <100%> (ø) ⬆️
etcdctl/ctlv3/command/printer_simple.go 72.48% <50%> (ø) ⬆️
mvcc/key_index.go 58.11% <61.53%> (ø) ⬆️
... and 25 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 104b6a3...42bef84. Read the comment docs.

@xiang90
Copy link
Contributor

xiang90 commented Jul 23, 2018

lgtm

@gyuho gyuho merged commit 0458c5d into etcd-io:master Jul 23, 2018
@gyuho gyuho deleted the revive branch July 23, 2018 13:39
@@ -216,9 +216,8 @@ func (s *store) Set(nodePath string, dir bool, value string, expireOpts TTLOptio
if getErr != nil {
err = getErr
return nil, err
} else {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jpbetz Now this should be caught automatic :)

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