Fix status path when using globs in phpfpm (#7324)

This commit is contained in:
Daniel Nelson
2020-04-14 12:14:49 -07:00
committed by GitHub
parent aab5800aac
commit 48f5da7e33

View File

@@ -312,9 +312,9 @@ func globUnixSocket(url string) ([]string, error) {
for _, path := range paths {
if status != "" {
status = fmt.Sprintf(":%s", status)
path = path + ":" + status
}
addrs = append(addrs, fmt.Sprintf("%s%s", path, status))
addrs = append(addrs, path)
}
return addrs, nil