align log level across plugins
happy lint happy lint
This commit is contained in:
parent
d3ec47f4ec
commit
319824e564
13 changed files with 286 additions and 230 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue