Revolyssup commented on code in PR #11844:
URL: https://github.com/apache/apisix/pull/11844#discussion_r1896546274
##########
apisix/control/v1.lua:
##########
@@ -269,6 +269,13 @@ local function iter_add_get_routes_info(values, route_id)
if new_route.value.upstream and new_route.value.upstream.parent then
new_route.value.upstream.parent = nil
end
+ -- remove healthcheck info
+ new_route.checker = nil
+ new_route.checker_idx = nil
+ new_route.checker_upstream = nil
+ if new_route.clean_handlers then
+ new_route.clean_handlers = {}
+ end
Review Comment:
some existing test cases grep logs and expect this to {}
--
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]