diff --git a/phpfpm/phpfpm.go b/phpfpm/phpfpm.go index a7c3bb7..33d955c 100644 --- a/phpfpm/phpfpm.go +++ b/phpfpm/phpfpm.go @@ -17,7 +17,7 @@ package phpfpm import ( "encoding/json" "fmt" - "io/ioutil" + "io" "net/url" "regexp" "strconv" @@ -178,7 +178,7 @@ func (p *Pool) Update() (err error) { defer resp.Body.Close() - content, err := ioutil.ReadAll(resp.Body) + content, err := io.ReadAll(resp.Body) if err != nil { return p.error(err) }