[scheduler cleanup phase 2]: Rename to

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang
2018-12-08 10:36:11 +08:00
parent f0bae6e9c5
commit f3353c358d
80 changed files with 568 additions and 568 deletions

View File

@@ -20,7 +20,7 @@ import (
"k8s.io/api/core/v1"
"k8s.io/kubernetes/pkg/scheduler/algorithm"
schedulerapi "k8s.io/kubernetes/pkg/scheduler/api"
schedulercache "k8s.io/kubernetes/pkg/scheduler/cache"
schedulernodeinfo "k8s.io/kubernetes/pkg/scheduler/nodeinfo"
)
// NormalizeReduce generates a PriorityReduceFunction that can normalize the result
@@ -30,7 +30,7 @@ func NormalizeReduce(maxPriority int, reverse bool) algorithm.PriorityReduceFunc
return func(
_ *v1.Pod,
_ interface{},
_ map[string]*schedulercache.NodeInfo,
_ map[string]*schedulernodeinfo.NodeInfo,
result schedulerapi.HostPriorityList) error {
var maxCount int