From ab0ccc47413f9b2a6eabc852fed5005a3ee1af6e Mon Sep 17 00:00:00 2001 From: Justin Sievenpiper Date: Mon, 28 Feb 2022 14:55:37 -0800 Subject: [PATCH] feat: add support for acl sentinel auth in universal client --- universal.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/universal.go b/universal.go index 1e962ab..c89b3e5 100644 --- a/universal.go +++ b/universal.go @@ -25,6 +25,7 @@ type UniversalOptions struct { Username string Password string + SentinelUsername string SentinelPassword string MaxRetries int @@ -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,