Fix DNS failures in L4 services

This commit is contained in:
Kevin Pullin 2019-02-17 14:12:10 -08:00
parent f527441319
commit f6aded2c51
3 changed files with 103 additions and 6 deletions

View file

@ -1,9 +1,7 @@
-- this is the Lua representation of TCP/UDP Configuration
local tcp_udp_configuration_data = ngx.shared.tcp_udp_configuration_data
local _M = {
nameservers = {}
}
local _M = {}
function _M.get_backends_data()
return tcp_udp_configuration_data:get("backends")