-
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
improve kic engine #6441
improve kic engine #6441
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh 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 #6441 +/- ##
==========================================
+ Coverage 37.68% 37.69% +0.01%
==========================================
Files 128 128
Lines 8654 8674 +20
==========================================
+ Hits 3261 3270 +9
- Misses 4970 4979 +9
- Partials 423 425 +2
|
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.
LGTM, just some nits.
/ok-to-test |
Error: running mkcmp: exit status 1 |
All Times minikube: [ 95.926872 94.470170 95.397701] Average Minikube (PR 6441): 95.144600 Averages Time Per Log
|
All Times minikube: [ 95.867790 93.286408 94.530464] Average minikube: 94.561554 Averages Time Per Log
|
created an issue for the cache integeration test failure #6445 |
All Times minikube: [ 93.923070 94.966001 95.073241] Average Minikube (PR 6441): 94.844220 Averages Time Per Log
|
All Times minikube: [ 95.416723 93.655667 96.011758] Average minikube: 95.028049 Averages Time Per Log
|
All Times minikube: [ 96.728102 97.170769 96.069193] Average minikube: 96.656021 Averages Time Per Log
|
@@ -165,6 +174,26 @@ func ListProfiles(miniHome ...string) (validPs []*Profile, inValidPs []*Profile, | |||
return validPs, inValidPs, nil | |||
} | |||
|
|||
// removeDupes removes duplicates |
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 is simple enough to just inline.
|
||
for n := range profiles { | ||
if seen[profiles[n]] { | ||
// Do not add duplicate. |
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.
instead of an else, use a continue
closes delete with kic: stuck on "docker inspect -f {{.State.Status}} minikube" #6383
closes kic: minikube status w wrong wranning #6410
closes kic: restart broken #6443
closes clean up, get rid of kic's node package #6396
This PR is in a mergable state, please feel free to merge in my absense if it looks good to you.