From 415867d3684d818fb8c27a9cc4b588b1bfee9e43 Mon Sep 17 00:00:00 2001 From: Traian Schiau Date: Tue, 10 Oct 2023 15:41:29 +0300 Subject: [PATCH] Fix after rebase --- pkg/scheduler/scheduler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/scheduler_test.go b/pkg/scheduler/scheduler_test.go index 2c03509530..1412a4d2ce 100644 --- a/pkg/scheduler/scheduler_test.go +++ b/pkg/scheduler/scheduler_test.go @@ -1585,7 +1585,7 @@ func TestLastSchedulingContext(t *testing.T) { scheduler := New(qManager, cqCache, cl, recorder) gotScheduled := make(map[string]kueue.Admission) var mu sync.Mutex - scheduler.applyAdmission = func(ctx context.Context, w *kueue.Workload) error { + scheduler.applyAdmission = func(_ context.Context, w *kueue.Workload, _ bool) error { mu.Lock() gotScheduled[workload.Key(w)] = *w.Status.Admission mu.Unlock()