Skip to content

Conversation

@HusterWan
Copy link
Contributor

Signed-off-by: Michael Wan [email protected]

Ⅰ. Describe what this PR did

fix: pull a image failed will lead to list images failed

root@osboxes:pouch (master) -> pouch images
Error: failed to get image list: {"message":"manifest sha256:bd13a0fc2aa205653032b3fef7895332bbbbc6fc9b0552e42d4b33b4a5481290: not found"}

Ⅱ. Does this pull request fix one issue?

fixes #924

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/S labels Mar 20, 2018
@codecov-io
Copy link

codecov-io commented Mar 20, 2018

Codecov Report

Merging #926 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #926      +/-   ##
==========================================
- Coverage   13.49%   13.49%   -0.01%     
==========================================
  Files         121      121              
  Lines        7764     7768       +4     
==========================================
  Hits         1048     1048              
- Misses       6626     6630       +4     
  Partials       90       90
Impacted Files Coverage Δ
ctrd/image.go 0% <0%> (ø) ⬆️

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 cb9b22e...1b39ac2. Read the comment docs.

ctrd/image.go Outdated
// occur error, skip it
if err != nil {
return nil, err
logrus.Errorf("Get image %s size failed: %v", image.Name, err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

("failed to get image size of %s: %v, image.Name, err)
How about that and keep consistent in the following file? @HusterWan

@allencloud
Copy link
Collaborator

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Mar 20, 2018
@allencloud allencloud merged commit 273c660 into AliyunContainerService:master Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] pull images failure impacts pouch images

4 participants