dyrnq commented on code in PR #8928:
URL: https://github.com/apache/apisix/pull/8928#discussion_r1116420647
##########
apisix/discovery/consul/init.lua:
##########
@@ -246,7 +270,7 @@ function _M.connect(premature, consul_server, retry_delay)
-- add services to table
local nodes = up_services[service_name]
for _, node in ipairs(result.body) do
- local svc_address, svc_port = node.ServiceAddress,
node.ServicePort
+ local svc_address, svc_port = node.Service.Address,
node.Service.Port
Review Comment:
checked done
--
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]