Skip to content

[release/1.1] fix: linter issue#2951

Merged
estesp merged 1 commit intocontainerd:release/1.1from
crosbymichael:lint-relase11
Jan 23, 2019
Merged

[release/1.1] fix: linter issue#2951
estesp merged 1 commit intocontainerd:release/1.1from
crosbymichael:lint-relase11

Conversation

@crosbymichael
Copy link
Copy Markdown
Member

megacheck, gosimple and unused has been deprecated and subsumed by
staticcheck. And staticcheck also has been upgraded. we need to update
code for the linter issue.

close: #2945

Signed-off-by: Wei Fu [email protected]

megacheck, gosimple and unused has been deprecated and subsumed by
staticcheck. And staticcheck also has been upgraded. we need to update
code for the linter issue.

close: containerd#2945

Signed-off-by: Wei Fu <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2951 into release/1.1 will decrease coverage by 0.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release/1.1    #2951      +/-   ##
===============================================
- Coverage        48.99%   48.98%   -0.02%     
===============================================
  Files               85       85              
  Lines             7603     7601       -2     
===============================================
- Hits              3725     3723       -2     
  Misses            3203     3203              
  Partials           675      675
Flag Coverage Δ
#linux 48.98% <66.66%> (-0.02%) ⬇️
Impacted Files Coverage Δ
filters/scanner.go 68.67% <ø> (-0.19%) ⬇️
mount/mountinfo_linux.go 55% <0%> (ø) ⬆️
archive/tar.go 50% <0%> (ø) ⬆️
metadata/content.go 43.94% <100%> (ø) ⬆️
content/local/locks.go 100% <100%> (ø) ⬆️
remotes/docker/auth.go 63.82% <100%> (ø) ⬆️
metadata/snapshot.go 54.75% <100%> (ø) ⬆️
metadata/db.go 65.5% <75%> (ø) ⬆️

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 6b15143...ff8a80e. Read the comment docs.

@dmcgowan
Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 9979a1a into containerd:release/1.1 Jan 23, 2019
@crosbymichael crosbymichael deleted the lint-relase11 branch January 23, 2019 18:18
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.

5 participants