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

Improvements to get_image_command #81

Merged
merged 9 commits into from
Sep 30, 2016
Merged

Conversation

JonathonReinhart
Copy link
Owner

This fixes #79, and adds some other small UI improvements around 'docker inspect'.

This removes ambiguity as to what we're trying to inspect.
This allows callers of get_image_command() to handle this case differently.

Unfortunately, 'docker inspect' can return 1 in other error cases, so we
have no choice but to key on the stderr text :-\
In the case where we're trying to inspect an image that has not yet been
downloaded, try to pull it first.

This fixes #79
This adds more complexity and confusion than it is worth.
Also, we now have tests that count on the state of the local image
repository, so don't let tests potentially screw each other up.
@codecov-io
Copy link

codecov-io commented Sep 30, 2016

Current coverage is 97.58% (diff: 86.66%)

Merging #81 into master will decrease coverage by 0.79%

@@             master        #81   diff @@
==========================================
  Files             9          9          
  Lines           433        456    +23   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            426        445    +19   
- Misses            7         11     +4   
  Partials          0          0          

Powered by Codecov. Last update 7e0e786...39451c5

@JonathonReinhart JonathonReinhart merged commit 21e47f5 into master Sep 30, 2016
@JonathonReinhart JonathonReinhart deleted the 79-inspect-fixes branch September 30, 2016 15:41
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.

Scuba fails to inspect image that doesn't yet exist
2 participants