summaryrefslogtreecommitdiffstats
path: root/resources/resource.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/resource.go')
-rw-r--r--resources/resource.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/resource.go b/resources/resource.go
index 7ccc5da39..94016154a 100644
--- a/resources/resource.go
+++ b/resources/resource.go
@@ -17,7 +17,6 @@ import (
"context"
"fmt"
"io"
- "io/ioutil"
"os"
"path"
"path/filepath"
@@ -370,7 +369,7 @@ func (l *genericResource) initContent() error {
defer r.Close()
var b []byte
- b, err = ioutil.ReadAll(r)
+ b, err = io.ReadAll(r)
if err != nil {
return
}