Baoyuantop commented on code in PR #12040:
URL: https://github.com/apache/apisix/pull/12040#discussion_r2024314722
##########
apisix/admin/consumers.lua:
##########
@@ -73,14 +70,14 @@ local function check_conf(username, conf, need_username,
schema)
end
if conf.plugins then
- ok, err = plugins.check_schema(conf.plugins, core.schema.TYPE_CONSUMER)
+ local ok, err = check_duplicate_key(conf.username, conf.plugins)
Review Comment:
The plugin's configuration will be encrypted during check_schema, and will
need to be decrypted later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]