From e24564224a1eae633c6ed4c0f6b1bdc8a8eebfd8 Mon Sep 17 00:00:00 2001 From: Jingguo Yao Date: Wed, 18 Sep 2019 23:06:14 +0800 Subject: [PATCH] clientv3: remove the redundant CancelFunc invocation --- clientv3/example_kv_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/clientv3/example_kv_test.go b/clientv3/example_kv_test.go index ae552583a..c3f348b3e 100644 --- a/clientv3/example_kv_test.go +++ b/clientv3/example_kv_test.go @@ -249,7 +249,6 @@ func ExampleKV_txn() { } gresp, err := kvc.Get(context.TODO(), "key") - cancel() if err != nil { log.Fatal(err) }