aboutsummaryrefslogtreecommitdiffstats
path: root/webui
diff options
context:
space:
mode:
Diffstat (limited to 'webui')
-rw-r--r--webui/packed_assets.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/webui/packed_assets.go b/webui/packed_assets.go
index 514cc8b8..4d3a2f44 100644
--- a/webui/packed_assets.go
+++ b/webui/packed_assets.go
@@ -10,7 +10,6 @@ import (
"compress/gzip"
"fmt"
"io"
- "io/ioutil"
"net/http"
"os"
pathpkg "path"
@@ -182,7 +181,7 @@ func (f *vfsgen۰CompressedFile) Read(p []byte) (n int, err error) {
}
if f.grPos < f.seekPos {
// Fast-forward.
- _, err = io.CopyN(ioutil.Discard, f.gr, f.seekPos-f.grPos)
+ _, err = io.CopyN(io.Discard, f.gr, f.seekPos-f.grPos)
if err != nil {
return 0, err
}