Skip to content

Commit

Permalink
[Fix] Fix additional fields in the Redis schema
Browse files Browse the repository at this point in the history
Issue: #4318
  • Loading branch information
vstakhov committed Oct 26, 2022
1 parent 6a8bf02 commit 868b8fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lualib/lua_redis.lua
Expand Up @@ -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

Expand Down

0 comments on commit 868b8fa

Please sign in to comment.