From b0b28eb2e145a87316a50a29589992959f861c30 Mon Sep 17 00:00:00 2001 From: wangye <1031205858@qq.com> Date: Tue, 30 Jan 2024 15:13:15 +0800 Subject: [PATCH] fix redis-cluster min nodes --- apisix/utils/redis-schema.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix/utils/redis-schema.lua b/apisix/utils/redis-schema.lua index 3d37ec468712..c9fdec41d8fc 100644 --- a/apisix/utils/redis-schema.lua +++ b/apisix/utils/redis-schema.lua @@ -49,7 +49,7 @@ local policy_to_additional_properties = { properties = { redis_cluster_nodes = { type = "array", - minItems = 2, + minItems = 1, items = { type = "string", minLength = 2, maxLength = 100 },