diff options
Diffstat (limited to 'vendor/github.com/vbauerster/mpb/v7/proxyreader.go')
-rw-r--r-- | vendor/github.com/vbauerster/mpb/v7/proxyreader.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/vbauerster/mpb/v7/proxyreader.go b/vendor/github.com/vbauerster/mpb/v7/proxyreader.go index b0dd89d45..51b63ea7a 100644 --- a/vendor/github.com/vbauerster/mpb/v7/proxyreader.go +++ b/vendor/github.com/vbauerster/mpb/v7/proxyreader.go @@ -2,7 +2,6 @@ package mpb import ( "io" - "io/ioutil" "time" ) @@ -76,5 +75,5 @@ func toReadCloser(r io.Reader) io.ReadCloser { if rc, ok := r.(io.ReadCloser); ok { return rc } - return ioutil.NopCloser(r) + return io.NopCloser(r) } |