From 1eb8a15a42ff76be46bf7e57a2883b1ecd86b3f6 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Wed, 8 Nov 2017 10:13:47 -0700 Subject: [PATCH] fix scheme --- examples/redis-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/redis-server/main.go b/examples/redis-server/main.go index a6f84c5..cc85b41 100644 --- a/examples/redis-server/main.go +++ b/examples/redis-server/main.go @@ -169,7 +169,7 @@ func main() { c.is.End(data) return } - addrs := []string{fmt.Sprintf("tcp-net://:%d", port)} + addrs := []string{fmt.Sprintf("tcp://:%d", port)} if unixsocket != "" { addrs = append(addrs, fmt.Sprintf("unix://%s", unixsocket)) }