diff options
author | KimMachineGun <geon0250@gmail.com> | 2021-04-03 08:10:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-04-05 17:51:15 +0000 |
commit | a040ebeb980d1a712509fa3d8073cf6ae16cbe78 (patch) | |
tree | 5dbb3b41a6506cb0251e49a2bf83cccf3aa571c4 /test/stress | |
parent | 9abedf482752cac0a29c56804f7d34698aa044f2 (diff) | |
download | go-a040ebeb980d1a712509fa3d8073cf6ae16cbe78.tar.gz go-a040ebeb980d1a712509fa3d8073cf6ae16cbe78.zip |
all: update references to symbols moved from io/ioutil to io
Update references missed in CL 263142.
For #41190
Change-Id: I778760a6a69bd0440fec0848bdef539c9ccb4ee1
GitHub-Last-Rev: dda42b09fff36dc08ec1cdec50cc19e3da5058e5
GitHub-Pull-Request: golang/go#42874
Reviewed-on: https://go-review.googlesource.com/c/go/+/273946
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/stress')
-rw-r--r-- | test/stress/runstress.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/stress/runstress.go b/test/stress/runstress.go index 3f16fc9fb3..b752fa8dbb 100644 --- a/test/stress/runstress.go +++ b/test/stress/runstress.go @@ -12,7 +12,6 @@ import ( "flag" "fmt" "io" - "io/ioutil" "log" "math/rand" "net" @@ -70,7 +69,7 @@ func stressNet() { if res.StatusCode != 200 { log.Fatalf("stressNet: Status code = %d", res.StatusCode) } - n, err := io.Copy(ioutil.Discard, res.Body) + n, err := io.Copy(io.Discard, res.Body) if err != nil { log.Fatalf("stressNet: io.Copy: %v", err) } |