Skip to content

Commit 2a2b743

Browse files
dom4hamacsko
andauthored
Commit review suggestion to pkg/scheduler/backend/queue/scheduling_queue_test.go
Co-authored-by: Maciej Skoczeń <[email protected]>
1 parent e782787 commit 2a2b743

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/scheduler/backend/queue/scheduling_queue_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,9 +1425,8 @@ func TestPriorityQueue_addToActiveQ(t *testing.T) {
14251425

14261426
for _, tt := range tests {
14271427
t.Run(tt.name, func(t *testing.T) {
1428-
_, ctx := ktesting.NewTestContext(t)
1428+
logger, ctx := ktesting.NewTestContext(t)
14291429
ctx, cancel := context.WithCancel(ctx)
1430-
logger := klog.FromContext(ctx)
14311430
defer cancel()
14321431

14331432
m := map[string][]framework.PreEnqueuePlugin{"": tt.plugins}

0 commit comments

Comments
 (0)