v3client: fix doc to use e.Server

Was passing embed.Etcd instead of etcdserver.EtcdServer.
This commit is contained in:
Anthony Romano 2017-03-15 09:17:17 -07:00
parent 8f83d11724
commit dea2516177

View File

@ -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!")