From 2e7e075762f1787ad5d6a68a20036cba869c8b4d Mon Sep 17 00:00:00 2001 From: drfish Date: Thu, 11 Feb 2021 20:45:00 +0800 Subject: [PATCH] Remove outdated TODO in interpodaffinity --- pkg/scheduler/framework/plugins/interpodaffinity/filtering.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go b/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go index 7665938276a..43f5834683d 100644 --- a/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go +++ b/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go @@ -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