Fix status path when using globs in phpfpm (#7324)
This commit is contained in:
parent
aab5800aac
commit
48f5da7e33
|
@ -312,9 +312,9 @@ func globUnixSocket(url string) ([]string, error) {
|
||||||
|
|
||||||
for _, path := range paths {
|
for _, path := range paths {
|
||||||
if status != "" {
|
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
|
return addrs, nil
|
||||||
|
|
Loading…
Reference in New Issue