-
Notifications
You must be signed in to change notification settings - Fork 944
bugfix: pull image and get its status with RefDigest #973
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
Conversation
0a418d8 to
4537896
Compare
daemon/mgr/image.go
Outdated
| id = c.refToID[refTagged.String()] | ||
| } | ||
| if id == "" { | ||
| return nil, errors.Wrap(errtypes.ErrNotfound, "image: "+id) |
There was a problem hiding this comment.
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"}
4537896 to
0f4d1fd
Compare
Signed-off-by: YaoZengzeng <[email protected]>
0f4d1fd to
9ae25a4
Compare
00bc1a6 to
dfdfa3f
Compare
Signed-off-by: YaoZengzeng <[email protected]>
dfdfa3f to
7f18fa3
Compare
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
|
@allencloud PTAL. |
|
LGTM |
Signed-off-by: YaoZengzeng [email protected]
Ⅰ. 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