-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
kic: explicitly provide the type in inspect commands #8229
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Travis tests have failedHey @afbjorklund, TravisBuddy Request Identifier: ab1e4720-9b3d-11ea-acf2-2540bfc6cd37 |
Here is the issue we are trying to address:
That is, when using "inspect" it will match the volume name too. So we add "container" explicitly. This seems to be a common problem at minikube start, when it tries to re-create the container... |
Should avoid errors like: map has no entry for key "State" When inspecting a volume, rather than a container or image
946c9d0
to
14937e4
Compare
Codecov Report
@@ Coverage Diff @@
## master #8229 +/- ##
=======================================
Coverage 34.50% 34.50%
=======================================
Files 147 147
Lines 9412 9412
=======================================
Hits 3248 3248
Misses 5765 5765
Partials 399 399
|
this is a great improvment ! thank you @afbjorklund do you know if this "type" inspect is supported in older docker versions? or is there a min version that we would require for this change? |
It's available in 1.13 / 17.03, I don't think we need to support any older than that... |
sounds good |
/ok-to-test |
kvm2 Driver Times for Minikube (PR 8229): [63.798267839000005 64.36760161299999 64.059085035] Averages Time Per Log
docker Driver Times for Minikube (PR 8229): [27.840063079 28.124562301000005 28.632874853000004] Averages Time Per Log
|
Should avoid errors like: map has no entry for key "State"
When inspecting a volume, rather than a container or image
Should help with #8192
Reviewer note: also fixed a typo in an internal function name