You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/17 01:37:15 UTC

[GitHub] [apisix] spacewander commented on a change in pull request #6622: improve fetch_api_router

spacewander commented on a change in pull request #6622:
URL: https://github.com/apache/apisix/pull/6622#discussion_r828623830



##########
File path: apisix/api_router.lua
##########
@@ -42,6 +42,10 @@ function fetch_api_router()
             core.log.debug("fetched api routes: ",
                            core.json.delay_encode(api_routes, true))
             for _, route in ipairs(api_routes) do
+                if route.uri == nil then
+                    break

Review comment:
       Would be better to add an error log?




-- 
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-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org