clientv3: remove the redundant CancelFunc invocation
parent
501bb07dd3
commit
e24564224a
|
@ -249,7 +249,6 @@ func ExampleKV_txn() {
|
|||
}
|
||||
|
||||
gresp, err := kvc.Get(context.TODO(), "key")
|
||||
cancel()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue