From 938333a9fe956041624e334f475294bf82ed3c95 Mon Sep 17 00:00:00 2001 From: masterlvng Date: Wed, 9 Dec 2015 19:50:43 -0800 Subject: [PATCH] client/README: correct Endpoints param --- client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/README.md b/client/README.md index bb51bfeb1..e9e4be468 100644 --- a/client/README.md +++ b/client/README.md @@ -77,7 +77,7 @@ If the response gets from the cluster is invalid, a plain string error will be r Here is the example code to handle client errors: ```go -cfg := client.Config{Endpoints: []string{"http://etcd1:2379,http://etcd2:2379,http://etcd3:2379"}} +cfg := client.Config{Endpoints: []string{"http://etcd1:2379","http://etcd2:2379","http://etcd3:2379"}} c, err := client.New(cfg) if err != nil { log.Fatal(err)