Merge pull request #98997 from gavinfish/sched-remove-todo

Scheduler: remove outdated TODO in interpodaffinity
This commit is contained in:
Kubernetes Prow Robot
2021-02-11 15:48:46 -08:00
committed by GitHub

View File

@@ -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