Skip to content

Commit

Permalink
Merge pull request #2282 from flant/fix-ioutils-mysql
Browse files Browse the repository at this point in the history
chore: fix ioutil lint error after merging MySQL ent storage
  • Loading branch information
sagikazarmark authored Sep 29, 2021
2 parents f92a6f4 + d4e82e3 commit ff6e7c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/ent/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"crypto/x509"
"database/sql"
"fmt"
"io/ioutil"
"net"
"os"
"strconv"
"time"

Expand Down Expand Up @@ -135,7 +135,7 @@ func (m *MySQL) makeTLSConfig() error {
if m.SSL.CAFile != "" {
rootCertPool := x509.NewCertPool()

pem, err := ioutil.ReadFile(m.SSL.CAFile)
pem, err := os.ReadFile(m.SSL.CAFile)
if err != nil {
return err
}
Expand Down

0 comments on commit ff6e7c7

Please sign in to comment.