mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
Fix auth.
This commit is contained in:
parent
7ae857cb58
commit
9462848b74
@ -53,6 +53,7 @@ func (c *baseClient) init(cn *conn, password string, db int64) error {
|
|||||||
// Client is not closed on purpose.
|
// Client is not closed on purpose.
|
||||||
client := &Client{
|
client := &Client{
|
||||||
baseClient: &baseClient{
|
baseClient: &baseClient{
|
||||||
|
opt: c.opt,
|
||||||
connPool: newSingleConnPool(c.connPool, cn, false),
|
connPool: newSingleConnPool(c.connPool, cn, false),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user