go fmt phpfpm.go
This commit is contained in:
parent
5b2fb16b60
commit
938cdd407d
|
@ -129,7 +129,7 @@ func (g *phpfpm) gatherServer(addr string, acc plugins.Accumulator) error {
|
||||||
}
|
}
|
||||||
socketAddr := strings.Split(u.Host, ":")
|
socketAddr := strings.Split(u.Host, ":")
|
||||||
fcgiIp := socketAddr[0]
|
fcgiIp := socketAddr[0]
|
||||||
fcgiPort,_ := strconv.Atoi(socketAddr[1])
|
fcgiPort, _ := strconv.Atoi(socketAddr[1])
|
||||||
fcgiAddr = u.Host
|
fcgiAddr = u.Host
|
||||||
fcgi, _ = NewClient(fcgiIp, fcgiPort)
|
fcgi, _ = NewClient(fcgiIp, fcgiPort)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue