Skip to content

Switch from gometalinter to golangci-lint#3411

Merged
crosbymichael merged 2 commits intocontainerd:masterfrom
mxpv:linter
Jul 15, 2019
Merged

Switch from gometalinter to golangci-lint#3411
crosbymichael merged 2 commits intocontainerd:masterfrom
mxpv:linter

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Jul 15, 2019

Closes #3410
Closes #3060

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 15, 2019

Build succeeded.

@mxpv mxpv force-pushed the linter branch 2 times, most recently from eeec3f1 to cafbd05 Compare July 15, 2019 03:23
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 15, 2019

Build succeeded.

mxpv added 2 commits July 14, 2019 20:49
Signed-off-by: Maksym Pavlenko <[email protected]>
Signed-off-by: Maksym Pavlenko <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 15, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 15, 2019

Codecov Report

Merging #3411 into master will decrease coverage by 8.71%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3411      +/-   ##
==========================================
- Coverage   48.98%   40.27%   -8.72%     
==========================================
  Files         102       76      -26     
  Lines        9903    10496     +593     
==========================================
- Hits         4851     4227     -624     
- Misses       4207     5685    +1478     
+ Partials      845      584     -261
Flag Coverage Δ
#linux ?
#windows 40.27% <ø> (?)
Impacted Files Coverage Δ
cio/io.go 1.4% <0%> (-53.6%) ⬇️
snapshots/native/native.go 1.79% <0%> (-51.25%) ⬇️
archive/tar.go 16.99% <0%> (-33.86%) ⬇️
metadata/snapshot.go 24.02% <0%> (-31.76%) ⬇️
metadata/containers.go 47.97% <0%> (-6.62%) ⬇️
content/local/writer.go 57.69% <0%> (-6.51%) ⬇️
content/local/store.go 49.52% <0%> (-5.29%) ⬇️
metadata/images.go 57.57% <0%> (-4.99%) ⬇️
archive/tar_opts.go 28.57% <0%> (-4.77%) ⬇️
archive/compression/compression.go 58.69% <0%> (-4.7%) ⬇️
... and 100 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 f2b6c31...ef7f46e. Read the comment docs.

select {
case e = <-eventsCh:
case err, open = <-errCh:
case err = <-errCh:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it seems that we can remove the open var here because open always is true

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make check failed in mac OS X Consider switching from gometalinter to golangci-lint

5 participants