mirror of https://github.com/knative/func.git
Cleanup: remove ioutil for new go version (#1532)
This commit is contained in:
parent
958429c2f3
commit
705cbcd8ac
|
@ -5,7 +5,6 @@ package e2e
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
@ -70,7 +69,7 @@ func createConfigAuth(dockerConfigFile string, content string) error {
|
||||||
|
|
||||||
func updateConfigAuth(dockerConfigFile string) error {
|
func updateConfigAuth(dockerConfigFile string) error {
|
||||||
|
|
||||||
bcontent, err := ioutil.ReadFile(dockerConfigFile)
|
bcontent, err := os.ReadFile(dockerConfigFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue