mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
remove io/util for advanced golang (#16011)
This commit is contained in:
parent
72afc2727a
commit
52769e1e71
@ -24,7 +24,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
@ -37,7 +36,7 @@ import (
|
||||
|
||||
func inspectToExportType(downloadPath string, datajson bool) error {
|
||||
decode := func(r io.Reader, file string) ([]byte, error) {
|
||||
b, e := ioutil.ReadAll(r)
|
||||
b, e := io.ReadAll(r)
|
||||
if e != nil {
|
||||
return nil, e
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user