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

v3client: fix doc to use e.Server
release-3.2
Anthony Romano 2017-03-15 10:28:41 -07:00 committed by GitHub
commit a2a6b693f1
1 changed files with 1 additions and 1 deletions

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