Skip to content

Commit 65e242e

Browse files
authored
Merge pull request #2039 from jsievenpiper/sentinel-universal
feat: add support for acl sentinel auth in universal client
2 parents 730afbc + ab0ccc4 commit 65e242e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

universal.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type UniversalOptions struct {
2525

2626
Username string
2727
Password string
28+
SentinelUsername string
2829
SentinelPassword string
2930

3031
MaxRetries int
@@ -114,6 +115,7 @@ func (o *UniversalOptions) Failover() *FailoverOptions {
114115
DB: o.DB,
115116
Username: o.Username,
116117
Password: o.Password,
118+
SentinelUsername: o.SentinelUsername,
117119
SentinelPassword: o.SentinelPassword,
118120

119121
MaxRetries: o.MaxRetries,

0 commit comments

Comments
 (0)