Browse Source

Fix typo in comment.

Fixes #39.
Gary Burd 12 năm trước cách đây
mục cha
commit
4053c2dadc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      redis/pool.go

+ 1 - 1
redis/pool.go

@@ -46,7 +46,7 @@ var errPoolClosed = errors.New("redigo: connection pool closed")
 //                  if err != nil {
 //                      return nil, err
 //                  }
-//                  if err := c.Do("AUTH", password); err != nil {
+//                  if _, err := c.Do("AUTH", password); err != nil {
 //                      c.Close()
 //                      return nil, err
 //                  }