mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-24 23:57:49 -04:00
Use len() instead of telling whether it's nil Add tests to guarantee that when resourceToWeightMap is nil, scheduler will not crash Signed-off-by: kerthcet <kerthcet@gmail.com> |
||
|---|---|---|
| .. | ||
| balanced_allocation.go | ||
| balanced_allocation_test.go | ||
| fit.go | ||
| fit_test.go | ||
| least_allocated.go | ||
| least_allocated_test.go | ||
| most_allocated.go | ||
| most_allocated_test.go | ||
| requested_to_capacity_ratio.go | ||
| requested_to_capacity_ratio_test.go | ||
| resource_allocation.go | ||
| test_util.go | ||