update test cases

This commit is contained in:
Thomas Jackson 2019-10-12 20:03:11 -07:00
parent b698699fdd
commit 7fc442c7f1
2 changed files with 8 additions and 9 deletions

View file

@ -118,7 +118,7 @@ function _M.lookup(host)
return addresses
end
ngx_log(ngx_ERR, "failed to query the DNS server for %s:\n%s", host, table_concat(dns_errors, "\n"))
ngx_log(ngx_ERR, "failed to query the DNS server for ", host, ":\n", table_concat(dns_errors, "\n"))
return { host }
end
@ -147,7 +147,7 @@ function _M.lookup(host)
end
if #dns_errors > 0 then
ngx_log(ngx_ERR, "failed to query the DNS server for %s:\n%s", host, table_concat(dns_errors, "\n"))
ngx_log(ngx_ERR, "failed to query the DNS server for ", host, ":\n", table_concat(dns_errors, "\n"))
end
return { host }