Files
kubernetes/plugin/pkg/scheduler/algorithm
Kubernetes Submit Queue 32b761edf3 Merge pull request #54871 from anfernee/clean
Automatic merge from submit-queue (batch tested with PRs 55114, 52976, 54871, 55122, 55140). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

haveSame is suboptimal, fix it as well as the name

**What this PR does / why we need it**: Make the util function simpler, also faster by reducing a for loop.

**Special notes for your reviewer**:

**Release note**:
```release-note
None
```
2017-11-06 23:19:18 -08:00
..
2017-10-15 18:18:13 -07:00
2016-07-16 13:48:21 -04:00
2017-06-22 11:31:03 -07:00