mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Remove deprecated io/ioutil (#15707)
This commit is contained in:
@@ -22,7 +22,6 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
@@ -343,7 +342,7 @@ func TestJSONLoad(t *testing.T) {
|
||||
|
||||
// Test jsonSave.
|
||||
func TestJSONSave(t *testing.T) {
|
||||
f, err := ioutil.TempFile("", "")
|
||||
f, err := os.CreateTemp("", "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user