Revolyssup commented on code in PR #9580: URL: https://github.com/apache/apisix/pull/9580#discussion_r1266216955
########## apisix/admin/plugins.lua: ########## @@ -85,16 +99,37 @@ function _M.get(name) end -function _M.get_plugins_list() - local plugins = core.config.local_conf().plugins +function _M.get_plugins_list(subsystem) + local http_plugins + local stream_plugins + if subsystem == "http" then + http_plugins = core.config.local_conf().plugins + else + stream_plugins = core.config.local_conf().stream_plugins + end + + Review Comment: done -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org