Skip to content

Commit

Permalink
feat: add support for acl sentinel auth in universal client
Browse files Browse the repository at this point in the history
  • Loading branch information
jsievenpiper committed Feb 28, 2022
1 parent 730afbc commit ab0ccc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions universal.go
Original file line number Diff line number Diff line change
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 ab0ccc4

Please sign in to comment.