Skip to content
Snippets Groups Projects
Unverified Commit ff6e7c76 authored by Márk Sági-Kazár's avatar Márk Sági-Kazár Committed by GitHub
Browse files

Merge pull request #2282 from flant/fix-ioutils-mysql

chore: fix ioutil lint error after merging MySQL ent storage
parents f92a6f44 d4e82e33
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,8 @@ import ( ...@@ -7,8 +7,8 @@ import (
"crypto/x509" "crypto/x509"
"database/sql" "database/sql"
"fmt" "fmt"
"io/ioutil"
"net" "net"
"os"
"strconv" "strconv"
"time" "time"
...@@ -135,7 +135,7 @@ func (m *MySQL) makeTLSConfig() error { ...@@ -135,7 +135,7 @@ func (m *MySQL) makeTLSConfig() error {
if m.SSL.CAFile != "" { if m.SSL.CAFile != "" {
rootCertPool := x509.NewCertPool() rootCertPool := x509.NewCertPool()
pem, err := ioutil.ReadFile(m.SSL.CAFile) pem, err := os.ReadFile(m.SSL.CAFile)
if err != nil { if err != nil {
return err return err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment