Firstsawyou commented on a change in pull request #2326:
URL: https://github.com/apache/apisix/pull/2326#discussion_r495566281



##########
File path: apisix/core/ctx.lua
##########
@@ -89,6 +90,14 @@ do
                 key = re_gsub(key, "-", "_", "jo")
                 val = get_var(key, t._request)
 
+            elseif key == "route_id" then
+                local route_id = ngx.ctx.api_ctx.route_id
+                val = route_id
+
+            elseif key == "service_id" then
+                local service_id = ngx.ctx.api_ctx.service_id

Review comment:
       fixed




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to