fix scheme

This commit is contained in:
Josh Baker 2017-11-08 10:13:47 -07:00
parent 1854813bd9
commit 1eb8a15a42
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ func main() {
c.is.End(data) c.is.End(data)
return return
} }
addrs := []string{fmt.Sprintf("tcp-net://:%d", port)} addrs := []string{fmt.Sprintf("tcp://:%d", port)}
if unixsocket != "" { if unixsocket != "" {
addrs = append(addrs, fmt.Sprintf("unix://%s", unixsocket)) addrs = append(addrs, fmt.Sprintf("unix://%s", unixsocket))
} }