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

Eagerly fetch image ID in daemon.Image #1272

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

jonjohnsonjr
Copy link
Collaborator

Currently, daemon.Image is so lazy that non-existent images don't return
an error. This changes ensures that the image actually exists by asking
the daemon for its Image ID.

Fixes #1186

Currently, daemon.Image is so lazy that non-existent images don't return
an error. This changes ensures that the image actually exists by asking
the daemon for its Image ID.
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2022

Codecov Report

Merging #1272 (6b0f542) into main (ad90886) will increase coverage by 0.00%.
The diff coverage is 80.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1272   +/-   ##
=======================================
  Coverage   73.91%   73.92%           
=======================================
  Files         111      111           
  Lines        8332     8345   +13     
=======================================
+ Hits         6159     6169   +10     
- Misses       1571     1573    +2     
- Partials      602      603    +1     
Impacted Files Coverage Δ
pkg/v1/daemon/image.go 75.67% <80.00%> (+0.16%) ⬆️

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 ad90886...6b0f542. Read the comment docs.

@jonjohnsonjr jonjohnsonjr merged commit c63684e into google:main Jan 28, 2022
@jonjohnsonjr jonjohnsonjr deleted the minikube branch January 28, 2022 22:54
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.

daemon.Image doesn't return an error if the image isn't in the daemon
3 participants