forked from mirror/redis
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…
Reference in New Issue