monkeyDluffy6017 commented on code in PR #8403:
URL: https://github.com/apache/apisix/pull/8403#discussion_r1034217388
##########
apisix/plugin.lua:
##########
@@ -901,7 +961,15 @@ _M.stream_check_schema = stream_check_schema
function _M.plugin_checker(item, schema_type)
if item.plugins then
- return check_schema(item.plugins, schema_type, true)
+ local ok, err = check_schema(item.plugins, schema_type, true)
+
+ if ok then
Review Comment:
But still need to iterate the loop below, we can skip the iteration
```
for name, conf in pairs(item.plugins) do
decrypt_conf(name, conf, schema_type)
end
```
--
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]