spacewander commented on code in PR #7926:
URL: https://github.com/apache/apisix/pull/7926#discussion_r973709454
##########
apisix/admin/init.lua:
##########
@@ -258,17 +258,21 @@ local function sync_local_conf_to_etcd(reset)
local local_conf = core.config.local_conf()
local plugins = {}
- for _, name in ipairs(local_conf.plugins) do
- core.table.insert(plugins, {
- name = name,
- })
+ if local_conf.plugins then
Review Comment:
In what situation people will use an empty plugin list?
--
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]