Merge pull request #11162 from yaojingguo/remove-cancel

clientv3: remove the redundant CancelFunc invocation
This commit is contained in:
Jingyi Hu 2019-09-18 12:39:49 -07:00 committed by GitHub
commit e84029cc04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,6 @@ func ExampleKV_txn() {
}
gresp, err := kvc.Get(context.TODO(), "key")
cancel()
if err != nil {
log.Fatal(err)
}