diff options
Diffstat (limited to 'tpl/data/resources.go')
-rw-r--r-- | tpl/data/resources.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/data/resources.go b/tpl/data/resources.go index 0470faf51..d7c1a1574 100644 --- a/tpl/data/resources.go +++ b/tpl/data/resources.go @@ -16,7 +16,7 @@ package data import ( "bytes" "fmt" - "io/ioutil" + "io" "net/http" "net/url" "path/filepath" @@ -62,7 +62,7 @@ func (ns *Namespace) getRemote(cache *filecache.Cache, unmarshal func([]byte) (b } var b []byte - b, err = ioutil.ReadAll(res.Body) + b, err = io.ReadAll(res.Body) if err != nil { return nil, err } |