Remove outdated TODO in interpodaffinity

This commit is contained in:
drfish 2021-02-11 20:45:00 +08:00
parent d08ac1dfcb
commit 2e7e075762

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