Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
  • Loading branch information
marcosnils committed Apr 25, 2023
1 parent 2d0b198 commit 10f4bcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/assets/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"net/http"
"path/filepath"
"sort"
Expand Down Expand Up @@ -367,7 +366,7 @@ func (f *Filter) processTar(name string, r io.Reader) (*finalFile, error) {
// isn't there a way just to store the reference
// where this data is so we don't have to do this or
// re-scan the archive twice afterwards?
bs, err := ioutil.ReadAll(tr)
bs, err := io.ReadAll(tr)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -433,7 +432,7 @@ func (f *Filter) processZip(name string, r io.Reader) (*finalFile, error) {
// isn't there a way just to store the reference
// where this data is so we don't have to do this or
// re-scan the archive twice afterwards?
bs, err := ioutil.ReadAll(zr)
bs, err := io.ReadAll(zr)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 10f4bcd

Please sign in to comment.