chore: remove refs to deprecated io/ioutil

This commit is contained in:
guoguangwu 2023-10-10 10:17:05 +08:00
parent 6ae7ae1f9a
commit 197414cfef
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import (
"encoding/pem"
"flag"
"fmt"
"io/ioutil"
"io"
"log"
"os"
"strings"
@ -146,7 +146,7 @@ func main() {
flag.Parse()
log.SetPrefix("submitct: ")
certsPem, err := ioutil.ReadAll(os.Stdin)
certsPem, err := io.ReadAll(os.Stdin)
if err != nil {
log.Fatalf("Error reading stdin: %s", err)
}