commit 868b8fa: [Fix] Fix additional fields in the Redis schema
Vsevolod Stakhov
vsevolod at rspamd.com
Wed Oct 26 21:28:03 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-10-26 22:24:58 +0100
URL: https://github.com/rspamd/rspamd/commit/868b8fac116d11487b346110713283c04a865bfa (HEAD -> master)
[Fix] Fix additional fields in the Redis schema
Issue: #4318
---
lualib/lua_redis.lua | 6 +++---
1 file 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
More information about the Commits
mailing list