Merge pull request #7511 from heyitsanthony/fix-v3client-embed
v3client: fix doc to use e.Serverrelease-3.2
commit
a2a6b693f1
|
@ -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!")
|
||||
|
|
Loading…
Reference in New Issue