Browse Source

Merge pull request #9217 from ka1em/patch-2

clientv3/namespace: fixed an error in the doc.go
Xiang Li 8 years ago
parent
commit
0ef5e01bd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/namespace/doc.go

+ 1 - 1
clientv3/namespace/doc.go

@@ -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
 //