You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/05 08:36:19 UTC

[GitHub] [apisix] Qizhd commented on a change in pull request #5163: fix: pass correct host header to health checker target nodes

Qizhd commented on a change in pull request #5163:
URL: https://github.com/apache/apisix/pull/5163#discussion_r722014551



##########
File path: apisix/upstream.lua
##########
@@ -293,7 +293,7 @@ function _M.set_by_route(route, api_ctx)
     end
 
     if nodes_count > 1 then
-        local checker = fetch_healthchecker(up_conf)
+        local checker = fetch_healthchecker(up_conf, api_ctx.var.host)

Review comment:
       @spacewander ok, will update




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org