chore: fix indent (#3454)

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
罗泽轩 2021-01-29 16:20:17 +08:00 committed by GitHub
parent 6415b29559
commit 1ac2f5b51e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,8 @@ local schema = {
type = "string",
enum = {"consumer_name", "service_id"},
default = "consumer_name"
},
blacklist = {
},
blacklist = {
type = "array",
minItems = 1,
items = {type = "string"}
@ -40,17 +40,17 @@ local schema = {
{
title = "whitelist",
properties = {
type = {
type = {
type = "string",
enum = {"consumer_name", "service_id"},
default = "consumer_name"
},
},
whitelist = {
type = "array",
minItems = 1,
items = {type = "string"}
},
rejected_code = {type = "integer", minimum = 200, default = 403}
},
rejected_code = {type = "integer", minimum = 200, default = 403}
},
required = {"whitelist"},
}