teach lua about search and ndots settings in resolv.conf

This commit is contained in:
Elvin Efendi 2019-08-09 15:19:56 -04:00
parent adef152db8
commit 7b4655bb39
7 changed files with 202 additions and 85 deletions

View file

@ -315,7 +315,7 @@ describe("Balancer", function()
}
}
helpers.mock_resty_dns_query({
helpers.mock_resty_dns_query(nil, {
{
name = "example.com",
address = "192.168.1.1",