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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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