Sn0rt commented on code in PR #10639:
URL: https://github.com/apache/apisix/pull/10639#discussion_r1427823997
##########
apisix/upstream.lua:
##########
@@ -558,6 +559,26 @@ local function filter_upstream(value, parent)
end
value.nodes = new_nodes
end
+
+ if value.checks then
+ core.log.info("guohao test will ensure check")
+ if healthcheck == nil then
+ healthcheck = require("resty.healthcheck")
+ end
+ local name = get_healthchecker_name(value.parent)
+ local upstream_target_list = healthcheck.get_target_list(name,
"upstream-healthcheck")
+ core.log.info("guohao get_healthchecker_name: ",
core.json.delay_encode(upstream_target_list, true))
Review Comment:
Operation error, I want to initiate PR separately.
This commit has nothing to do with Pr. I'll roll it back.
--
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]