Skip to content

Commit 9353543

Browse files
committed
chore(ring): Add missing fields in building clientOptions
1 parent 5a34ede commit 9353543

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ring.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,13 @@ func (opt *RingOptions) clientOptions() *Options {
172172
Dialer: opt.Dialer,
173173
OnConnect: opt.OnConnect,
174174

175-
Protocol: opt.Protocol,
176-
Username: opt.Username,
177-
Password: opt.Password,
178-
CredentialsProvider: opt.CredentialsProvider,
179-
DB: opt.DB,
175+
Protocol: opt.Protocol,
176+
Username: opt.Username,
177+
Password: opt.Password,
178+
CredentialsProvider: opt.CredentialsProvider,
179+
CredentialsProviderContext: opt.CredentialsProviderContext,
180+
StreamingCredentialsProvider: opt.StreamingCredentialsProvider,
181+
DB: opt.DB,
180182

181183
MaxRetries: -1,
182184

0 commit comments

Comments
 (0)