We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8099d05 commit 73a9ff3Copy full SHA for 73a9ff3
lib/resty/redis/connector.lua
@@ -230,9 +230,9 @@ function _M.connect_via_sentinel(self, params)
230
local password = params.password
231
local sentinel_password = params.sentinel_password
232
if sentinel_password then
233
- for i,host in ipairs(sentinels) do
234
- host.password = sentinel_password
235
- end
+ for i,host in ipairs(sentinels) do
+ host.password = sentinel_password
+ end
236
end
237
238
local sentnl, err, previous_errors = self:try_hosts(sentinels)
0 commit comments