From da063f457500fc16b18122815fa3a6bfa745aaf7 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()