Merge pull request #127036 from oscgu/chore/rm-ioutil-1

chore(cmd): rm ioutil
This commit is contained in:
Kubernetes Prow Robot 2024-10-23 09:54:52 +01:00 committed by GitHub
commit 403fcab520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,6 @@ import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"log"
"os"
"os/exec"
@ -275,7 +274,7 @@ func main() {
}
}
vendorModulesTxt, err := ioutil.ReadFile("vendor/modules.txt")
vendorModulesTxt, err := os.ReadFile("vendor/modules.txt")
if err != nil {
log.Fatal(err)
}