mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #98997 from gavinfish/sched-remove-todo
Scheduler: remove outdated TODO in interpodaffinity
This commit is contained in:
commit
b1a2a99f1f
@ -85,9 +85,6 @@ func (s *preFilterState) updateWithPod(updatedPodInfo *framework.PodInfo, node *
|
||||
s.topologyToMatchedAntiAffinityTerms.updateWithAntiAffinityTerms(updatedPodInfo.Pod, node, s.podInfo.RequiredAntiAffinityTerms, multiplier)
|
||||
}
|
||||
|
||||
// TODO(Huang-Wei): It might be possible to use "make(map[topologyPair]*int64)" so that
|
||||
// we can do atomic additions instead of using a global mutex, however we need to consider
|
||||
// how to init each topologyToMatchedTermCount.
|
||||
type topologyPair struct {
|
||||
key string
|
||||
value string
|
||||
|
Loading…
Reference in New Issue
Block a user