We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
io/ioutil
1 parent 78f4bdc commit cd7da9dCopy full SHA for cd7da9d
pkg/gcp/gcp_test.go
@@ -22,7 +22,6 @@ import (
22
"encoding/json"
23
"fmt"
24
"io"
25
- "io/ioutil"
26
"log"
27
"net"
28
"net/http"
@@ -55,7 +54,7 @@ var (
55
54
56
func TestMain(m *testing.M) {
57
hc, close = newTestServer(func(w http.ResponseWriter, r *http.Request) {
58
- io.Copy(ioutil.Discard, r.Body)
+ io.Copy(io.Discard, r.Body)
59
if r.RequestURI == fmt.Sprintf("/storage/v1/b/%s?alt=json&prettyPrint=false&projection=full", bucketName) {
60
w.WriteHeader(200)
61
response := getBucket()
0 commit comments