go fmt phpfpm.go

This commit is contained in:
鲁晓敏 2015-11-12 19:34:31 +08:00
parent 5b2fb16b60
commit 938cdd407d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {