update test cases
This commit is contained in:
parent
b698699fdd
commit
7fc442c7f1
2 changed files with 8 additions and 9 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue