chore: remove refs to deprecated io/ioutil
This commit is contained in:
parent
6ae7ae1f9a
commit
197414cfef
|
@ -22,7 +22,7 @@ import (
|
||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -146,7 +146,7 @@ func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
log.SetPrefix("submitct: ")
|
log.SetPrefix("submitct: ")
|
||||||
|
|
||||||
certsPem, err := ioutil.ReadAll(os.Stdin)
|
certsPem, err := io.ReadAll(os.Stdin)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Error reading stdin: %s", err)
|
log.Fatalf("Error reading stdin: %s", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue