mirror of
https://github.com/redis/go-redis.git
synced 2025-08-07 12:42:55 +03:00
Change Tx.Pipeline and Tx.TxPipeline meaning
This commit is contained in:
@@ -194,7 +194,7 @@ var _ = Describe("races", func() {
|
||||
num, err := strconv.ParseInt(val, 10, 64)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
cmds, err := tx.Pipelined(func(pipe redis.Pipeliner) error {
|
||||
cmds, err := tx.TxPipelined(func(pipe redis.Pipeliner) error {
|
||||
pipe.Set("key", strconv.FormatInt(num+1, 10), 0)
|
||||
return nil
|
||||
})
|
||||
|
Reference in New Issue
Block a user