diff options
author | LaoDC <github@laodc.com> | 2023-08-21 22:02:20 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 22:02:20 +0700 |
commit | 6c3d5c7db86c2fe28d10915c2d6578efe5a4661c (patch) | |
tree | 92e8eb959c6aa5c806e4943d7999d2808fb3604b /lualib/lua_redis.lua | |
parent | af29b508aeed0d74697e65aa9eae200fe9ffd903 (diff) | |
download | rspamd-6c3d5c7db86c2fe28d10915c2d6578efe5a4661c.tar.gz rspamd-6c3d5c7db86c2fe28d10915c2d6578efe5a4661c.zip |
Apply suggestions from code review
Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r-- | lualib/lua_redis.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index 8ae40da5b..ead938a0a 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -37,7 +37,7 @@ local common_schema = { sentinel_watch_time = (ts.number + ts.string / lutil.parse_time_interval):is_optional():describe("Sentinel watch time"), sentinel_masters_pattern = ts.string:is_optional():describe("Sentinel masters pattern"), sentinel_master_maxerrors = (ts.number + ts.string / tonumber):is_optional():describe("Sentinel master max errors"), - sentinel_username = ts.string:is_optional():describe("sentinel username"), + sentinel_username = ts.string:is_optional():describe("Sentinel username"), sentinel_password = ts.string:is_optional():describe("Sentinel password"), } |