diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-26 22:24:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-26 22:24:58 +0100 |
commit | 868b8fac116d11487b346110713283c04a865bfa (patch) | |
tree | f4f7199936963fe3366c0b60a117bd10aec2298c /lualib/lua_redis.lua | |
parent | 6a8bf029f81d1f676ec439ca936a227face6855a (diff) | |
download | rspamd-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.lua | 6 |
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 |