spacewander commented on a change in pull request #4488:
URL: https://github.com/apache/apisix/pull/4488#discussion_r659319269
##########
File path: apisix/init.lua
##########
@@ -823,6 +823,11 @@ function _M.stream_init_worker()
core.config.init_worker()
end
+ local discovery = require("apisix.discovery.init").discovery
+ if discovery and discovery.init_worker then
+ discovery.init_worker()
+ end
Review comment:
You can add a test with the DNS discovery:
https://github.com/apache/apisix/blob/07bfe5b9c03ad361cb71541eb02fd661f1323213/t/discovery/dns/sanity.t#L91
You can setup it with
https://github.com/apache/apisix/blob/07bfe5b9c03ad361cb71541eb02fd661f1323213/utils/set-dns.sh#L33
--
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]