Skip to content

Commit 264b107

Browse files
author
Feng Zhou
committed
Update cluster.go.
1 parent cc8861c commit 264b107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ func (c *ClusterClient) NewTransation(ctx context.Context, key string) (*Tx, err
14141414
if err != nil {
14151415
return nil, err
14161416
}
1417-
return node.Client.newTx(ctx), nil
1417+
return node.Client.newTx(), nil
14181418
}
14191419

14201420
func (c *ClusterClient) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {

0 commit comments

Comments
 (0)