瀏覽代碼

Merge pull request #7174 from vimalk78/support-v3-txn-without-condition

clientv3/txn.go : removed the TODO: add a Do for shortcut the txn without any condition
Xiang Li 9 年之前
父節點
當前提交
5cf0d6678b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      clientv3/txn.go

+ 0 - 2
clientv3/txn.go

@@ -49,8 +49,6 @@ type Txn interface {
 
 
 	// Commit tries to commit the transaction.
 	// Commit tries to commit the transaction.
 	Commit() (*TxnResponse, error)
 	Commit() (*TxnResponse, error)
-
-	// TODO: add a Do for shortcut the txn without any condition?
 }
 }
 
 
 type txn struct {
 type txn struct {