mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #12169 from mikedanese/patch-1
Auto commit by PR queue bot
This commit is contained in:
commit
9df26f27dd
@ -190,7 +190,7 @@ func getBestHosts(list algorithm.HostPriorityList) []string {
|
||||
func EqualPriority(_ *api.Pod, podLister algorithm.PodLister, minionLister algorithm.MinionLister) (algorithm.HostPriorityList, error) {
|
||||
nodes, err := minionLister.List()
|
||||
if err != nil {
|
||||
fmt.Errorf("failed to list nodes: %v", err)
|
||||
glog.Errorf("failed to list nodes: %v", err)
|
||||
return []algorithm.HostPriority{}, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user