Merge pull request #7511 from heyitsanthony/fix-v3client-embed

v3client: fix doc to use e.Server
This commit is contained in:
Anthony Romano
2017-03-15 10:28:41 -07:00
committed by GitHub

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