aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_redis.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-26 22:24:58 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-26 22:24:58 +0100
commit868b8fac116d11487b346110713283c04a865bfa (patch)
treef4f7199936963fe3366c0b60a117bd10aec2298c /lualib/lua_redis.lua
parent6a8bf029f81d1f676ec439ca936a227face6855a (diff)
downloadrspamd-868b8fac116d11487b346110713283c04a865bfa.tar.gz
rspamd-868b8fac116d11487b346110713283c04a865bfa.zip
[Fix] Fix additional fields in the Redis schema
Issue: #4318
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r--lualib/lua_redis.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua
index a34adff6b..d8f87c7bd 100644
--- a/lualib/lua_redis.lua
+++ b/lualib/lua_redis.lua
@@ -42,13 +42,13 @@ local config_schema =
ts.shape({
read_servers = ts.string + ts.array_of(ts.string),
write_servers = ts.string + ts.array_of(ts.string),
- }, {extra_opts = common_schema}) +
+ }, {extra_fields = common_schema}) +
ts.shape({
servers = ts.string + ts.array_of(ts.string),
- }, {extra_opts = common_schema}) +
+ }, {extra_fields = common_schema}) +
ts.shape({
server = ts.string + ts.array_of(ts.string),
- }, {extra_opts = common_schema})
+ }, {extra_fields = common_schema})
exports.config_schema = config_schema