From 704212eaaebb131b3edfd20beb6b4e81c575b39e Mon Sep 17 00:00:00 2001 From: MengZeLee Date: Thu, 22 Jul 2021 10:27:46 +0800 Subject: [PATCH] fix typo (#1829) --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 7d9f7405..7977bf92 100644 --- a/example_test.go +++ b/example_test.go @@ -417,7 +417,7 @@ func ExampleClient_Watch() { // Actual opperation (local in optimistic lock). n++ - // Operation is commited only if the watched keys remain unchanged. + // Operation is committed only if the watched keys remain unchanged. _, err = tx.TxPipelined(ctx, func(pipe redis.Pipeliner) error { pipe.Set(ctx, key, n, 0) return nil