From 868b8fac116d11487b346110713283c04a865bfa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 26 Oct 2022 22:24:58 +0100 Subject: [PATCH] [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 -- 2.39.5