-
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
Stopped and running machines should count as existing #6629
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sharifelgamal 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 |
Codecov Report
@@ Coverage Diff @@
## master #6629 +/- ##
==========================================
+ Coverage 38.52% 38.52% +<.01%
==========================================
Files 142 142
Lines 8603 8605 +2
==========================================
+ Hits 3314 3315 +1
- Misses 4875 4876 +1
Partials 414 414
|
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.
This seems reasonable to me. It makes me think that perhaps machine.machineExists
was called when perhaps a machine.IsFixable
would have been more appropriate. I'm curious to see if anything breaks.
@@ -199,6 +199,9 @@ func adjustGuestClock(h hostRunner, t time.Time) error { | |||
// machineExists checks if virtual machine does not exist | |||
// if the virtual machine exists, return true | |||
func machineExists(d string, s state.State, err error) (bool, error) { |
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.
Maybe this should be called 'exists'?
/ok-to-test |
All Times minikube: [ 96.846810 94.520474 93.335631] Average minikube: 94.900972 Averages Time Per Log
|
thank you |
No description provided.