Skip to content

Commit 067ca54

Browse files
committed
chore: rm ioutil
1 parent ed37370 commit 067ca54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/client/tests/remotecommand_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"errors"
2323
"fmt"
2424
"io"
25-
"io/ioutil"
2625
"net/http"
2726
"net/http/httptest"
2827
"net/url"
@@ -336,7 +335,7 @@ func TestDial(t *testing.T) {
336335
conn: &fakeConnection{},
337336
resp: &http.Response{
338337
StatusCode: http.StatusSwitchingProtocols,
339-
Body: ioutil.NopCloser(&bytes.Buffer{}),
338+
Body: io.NopCloser(&bytes.Buffer{}),
340339
},
341340
}
342341
dialer := spdy.NewDialer(upgrader, &http.Client{Transport: upgrader}, "POST", &url.URL{Host: "something.com", Scheme: "https"})

0 commit comments

Comments
 (0)