mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
sentine: don't pass DB and Password to Sentinel client.
This commit is contained in:
@ -185,9 +185,6 @@ func (d *sentinelFailover) MasterAddr() (string, error) {
|
||||
sentinel := newSentinel(&Options{
|
||||
Addr: sentinelAddr,
|
||||
|
||||
DB: d.opt.DB,
|
||||
Password: d.opt.Password,
|
||||
|
||||
DialTimeout: d.opt.DialTimeout,
|
||||
ReadTimeout: d.opt.ReadTimeout,
|
||||
WriteTimeout: d.opt.WriteTimeout,
|
||||
|
Reference in New Issue
Block a user