Skip to content

Commit

Permalink
Merge pull request #2039 from jsievenpiper/sentinel-universal
Browse files Browse the repository at this point in the history
feat: add support for acl sentinel auth in universal client
  • Loading branch information
vmihailenco committed Mar 1, 2022
2 parents 730afbc + ab0ccc4 commit 65e242e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions universal.go
Expand Up @@ -25,6 +25,7 @@ type UniversalOptions struct {

Username string
Password string
SentinelUsername string
SentinelPassword string

MaxRetries int
Expand Down Expand Up @@ -114,6 +115,7 @@ func (o *UniversalOptions) Failover() *FailoverOptions {
DB: o.DB,
Username: o.Username,
Password: o.Password,
SentinelUsername: o.SentinelUsername,
SentinelPassword: o.SentinelPassword,

MaxRetries: o.MaxRetries,
Expand Down

0 comments on commit 65e242e

Please sign in to comment.