From 8f2243fe748957c7bc4b8d61b02e01b0ee78c0c9 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Fri, 1 Nov 2024 01:46:14 +0900 Subject: [PATCH] chore: tiny wording on the comment --- pkg/scheduler/framework/preemption/preemption.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/framework/preemption/preemption.go b/pkg/scheduler/framework/preemption/preemption.go index 9569851612c..a58781c9690 100644 --- a/pkg/scheduler/framework/preemption/preemption.go +++ b/pkg/scheduler/framework/preemption/preemption.go @@ -133,7 +133,7 @@ type Evaluator struct { enableAsyncPreemption bool mu sync.RWMutex - // preempting is a map that records the pods that are currently triggering preemption asynchronously, + // preempting is a set that records the pods that are currently triggering preemption asynchronously, // which is used to prevent the pods from entering the scheduling cycle meanwhile. preempting sets.Set[types.UID]