align log level across plugins

happy lint

happy lint
This commit is contained in:
Boshi Lian 2022-08-05 22:00:47 +00:00
parent d3ec47f4ec
commit 319824e564
13 changed files with 286 additions and 230 deletions

View file

@ -4,7 +4,6 @@ import (
"bufio"
"bytes"
"fmt"
"io/ioutil"
"net"
"os"
"path"
@ -148,7 +147,7 @@ func (w *Workingdir) Readfile(file string) ([]byte, error) {
return nil, err
}
return ioutil.ReadFile(w.fullpath(file))
return os.ReadFile(w.fullpath(file))
}
func parseUpstreamFile(data string) (host string, port int, user string, err error) {