mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
fix: return NodeScore in even pods spread priority
This commit is contained in:
parent
1016b8b58a
commit
b1e52d1fc2
@ -147,7 +147,7 @@ func CalculateEvenPodsSpreadPriorityMap(pod *v1.Pod, meta interface{}, nodeInfo
|
||||
m = priorityMeta.podTopologySpreadMap
|
||||
}
|
||||
if m == nil {
|
||||
return framework.NodeScore{}, nil
|
||||
return framework.NodeScore{Name: node.Name, Score: 0}, nil
|
||||
}
|
||||
|
||||
// no need to continue if the node is not qualified.
|
||||
|
Loading…
Reference in New Issue
Block a user