tzssangglass commented on a change in pull request #6600:
URL: https://github.com/apache/apisix/pull/6600#discussion_r829669250
##########
File path: apisix/balancer.lua
##########
@@ -176,6 +177,17 @@ local function set_balancer_opts(route, ctx)
end
+local function parse_server_for_upstream_host(picked_server, ctx)
+ local upstream_scheme = ctx.upstream_scheme
+ local standard_port = apisix_upstream.scheme_to_port[upstream_scheme]
Review comment:
```suggestion
local function parse_server_for_upstream_host(picked_server, upstream_scheme)
local standard_port = apisix_upstream.scheme_to_port[upstream_scheme]
```
is better?
--
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]