yongboy commented on a change in pull request #3742:
URL: https://github.com/apache/apisix/pull/3742#discussion_r587256804



##########
File path: apisix/control/router.lua
##########
@@ -66,6 +68,38 @@ function fetch_control_api_router()
         end
     end
 
+    local discovery_type = 
require("apisix.core.config_local").local_conf().discovery
+    if discovery_type then
+        local discovery = require("apisix.discovery.init").discovery
+        local dump_apis = {}
+        for key, _ in pairs(discovery_type) do

Review comment:
       Good idea!




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to