diff --git a/plugins/phpfpm/phpfpm.go b/plugins/phpfpm/phpfpm.go index 07dcf6191..8408c86f7 100644 --- a/plugins/phpfpm/phpfpm.go +++ b/plugins/phpfpm/phpfpm.go @@ -129,7 +129,7 @@ func (g *phpfpm) gatherServer(addr string, acc plugins.Accumulator) error { } socketAddr := strings.Split(u.Host, ":") fcgiIp := socketAddr[0] - fcgiPort,_ := strconv.Atoi(socketAddr[1]) + fcgiPort, _ := strconv.Atoi(socketAddr[1]) fcgiAddr = u.Host fcgi, _ = NewClient(fcgiIp, fcgiPort) } else {