Skip to content

Commit 1b50852

Browse files
authored
remove unnecessary new context
1 parent 7d07249 commit 1b50852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/codespace/ports_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func runUpdateVisibilityTest(t *testing.T, portVisibilities []portVisibility, ev
176176
case <-ctx.Done():
177177
return
178178
case conn := <-ch:
179-
_, _ = conn.DispatchCall(context.Background(), eventResponses[i], pd, nil)
179+
_, _ = conn.DispatchCall(ctx, eventResponses[i], pd, nil)
180180
}
181181
}
182182
}()

0 commit comments

Comments
 (0)