clientv3: remove the redundant CancelFunc invocation

release-3.5
Jingguo Yao 2019-09-18 23:06:14 +08:00
parent 501bb07dd3
commit e24564224a
1 changed files with 0 additions and 1 deletions

View File

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