diff options
| author | Randall Meyer <[email protected]> | 2023-02-15 10:34:04 -0800 |
|---|---|---|
| committer | Randall Meyer <[email protected]> | 2023-02-20 10:28:21 -0800 |
| commit | aba993ed378297f48ff6be18b17c6a963d3fd190 (patch) | |
| tree | c78832e8851c2dc39c4db56fbb3b2469802e9f1f /traceable | |
| parent | e0305ad041549f5f7ff90baa9cae58cf88a9c346 (diff) | |
lint/deprecation cleanup
Diffstat (limited to 'traceable')
| -rw-r--r-- | traceable/traceable_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/traceable/traceable_test.go b/traceable/traceable_test.go index 1ba6f51..e9d5a74 100644 --- a/traceable/traceable_test.go +++ b/traceable/traceable_test.go @@ -18,7 +18,6 @@ import ( "context" "crypto/tls" "io" - "io/ioutil" "net/http" "net/http/httptrace" "sync" @@ -141,7 +140,7 @@ func TestDuplicativeTraceables(t *testing.T) { if err != nil { return } - _, _ = io.Copy(ioutil.Discard, get.Body) + _, _ = io.Copy(io.Discard, get.Body) get.Body.Close() }() go func() { @@ -150,7 +149,7 @@ func TestDuplicativeTraceables(t *testing.T) { if err != nil { return } - _, _ = io.Copy(ioutil.Discard, get.Body) + _, _ = io.Copy(io.Discard, get.Body) get.Body.Close() }() |
