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

bugfix: pull image and get its status with RefDigest #973

Merged
merged 2 commits into from
Mar 27, 2018

Conversation

YaoZengzeng
Copy link
Contributor

Signed-off-by: YaoZengzeng yaozengzeng@zju.edu.cn

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

id = c.refToID[refTagged.String()]
}
if id == "" {
return nil, errors.Wrap(errtypes.ErrNotfound, "image: "+id)
Copy link
Contributor

Choose a reason for hiding this comment

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

error msg is incomplete while using repoDigest,maybe we should raise error on line 258.
Error: failed to run container: {"message":"image: : not found"}

Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
@codecov-io
Copy link

Codecov Report

Merging #973 into master will increase coverage by 0.01%.
The diff coverage is 19.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #973      +/-   ##
==========================================
+ Coverage   12.94%   12.95%   +0.01%     
==========================================
  Files         123      123              
  Lines        8314     8322       +8     
==========================================
+ Hits         1076     1078       +2     
- Misses       7142     7151       +9     
+ Partials       96       93       -3
Impacted Files Coverage Δ
daemon/mgr/cri.go 0% <0%> (ø) ⬆️
daemon/mgr/cri_utils.go 30.42% <0%> (-0.22%) ⬇️
daemon/mgr/image.go 30.05% <28.88%> (+0.73%) ⬆️

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 107e1d9...7f18fa3. Read the comment docs.

@YaoZengzeng
Copy link
Contributor Author

@allencloud PTAL.

@allencloud
Copy link
Collaborator

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Mar 27, 2018
@allencloud allencloud merged commit c936270 into AliyunContainerService:master Mar 27, 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/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants