Merge pull request #9217 from ka1em/patch-2

clientv3/namespace: fixed an error in the doc.go
This commit is contained in:
Xiang Li 2018-01-24 10:13:04 -08:00 committed by GitHub
commit 0ef5e01bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@
// fmt.Printf("%s\n", resp.Kvs[0].Value)
// // Output: 123
// unprefixedKV.Put(context.TODO(), "my-prefix/abc", "456")
// resp, _ = cli.Get("abc")
// resp, _ = cli.Get(context.TODO(), "abc")
// fmt.Printf("%s\n", resp.Kvs[0].Value)
// // Output: 456
//