Skip to content

Commit 8a3e62f

Browse files
authored
[agent] Fix the websockets_test.go test to not require the latest version of Go
1 parent 85730e3 commit 8a3e62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent/websockets/websockets_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func TestShimHandlers(t *testing.T) {
233233
openWrapper := func(h http.Handler, metricHandler *metrics.MetricHandler) http.Handler {
234234
return h
235235
}
236-
p, err := Proxy(t.Context(), h, serverURL.Host, testShimPath, false, false, openWrapper, nil)
236+
p, err := Proxy(context.Background(), h, serverURL.Host, testShimPath, false, false, openWrapper, nil)
237237
if err != nil {
238238
t.Fatalf("Failure creating the websocket shim proxy: %+v", err)
239239
}

0 commit comments

Comments
 (0)