diff --git a/sentinel.go b/sentinel.go index d118da1..6b22245 100644 --- a/sentinel.go +++ b/sentinel.go @@ -79,6 +79,8 @@ type sentinelClient struct { func newSentinel(clOpt *Options) *sentinelClient { opt := clOpt.options() + opt.Password = "" + opt.DB = 0 dialer := func() (net.Conn, error) { return net.DialTimeout("tcp", clOpt.Addr, opt.DialTimeout) }