Revolyssup commented on code in PR #12629:
URL: https://github.com/apache/apisix/pull/12629#discussion_r2389973421
##########
apisix/init.lua:
##########
@@ -266,8 +268,12 @@ local function parse_domain_in_route(route)
route.value.upstream.nodes = new_nodes
resource.set_nodes_ver_and_nodes(route.value.upstream.resource_key,
nodes_ver, new_nodes)
+ -- remove plugin before logging to avoid logging sensitive info
+ local route_log = core.table.deepcopy(route)
Review Comment:
this log is needed for test so only plugins are removed.
--
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]