From dea25161775b4dd7243e5612eb1e66261e996c75 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Wed, 15 Mar 2017 09:17:17 -0700 Subject: [PATCH] v3client: fix doc to use e.Server Was passing embed.Etcd instead of etcdserver.EtcdServer. --- etcdserver/api/v3client/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdserver/api/v3client/doc.go b/etcdserver/api/v3client/doc.go index 952643106..310715f5c 100644 --- a/etcdserver/api/v3client/doc.go +++ b/etcdserver/api/v3client/doc.go @@ -34,7 +34,7 @@ // } // // // wrap the EtcdServer with v3client -// cli := v3client.New(e) +// cli := v3client.New(e.Server) // // // use like an ordinary clientv3 // resp, err := cli.Put(context.TODO(), "some-key", "it works!")