Vacant2333 commented on code in PR #10599:
URL: https://github.com/apache/apisix/pull/10599#discussion_r1416588124
##########
apisix/utils/log-util.lua:
##########
@@ -152,53 +202,14 @@ local function get_full_log(ngx, conf)
service_id = service_id,
route_id = route_id,
consumer = consumer,
- client_ip = core.request.get_remote_client_ip(ngx.ctx.api_ctx),
+ client_ip = core.request.get_remote_client_ip(ctx),
Review Comment:
https://github.com/apache/apisix/pull/10599/files/3b5ae9cb9e6e32e1725a973a4b13a95939ec92e4#diff-34cfcd7ea6de7a49aca1445c26a8f93b0e10bccb2d690ffbaf098b6678ab0b55R159
its the same
--
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]