Skip to content

Commit

Permalink
fix conflicts with master using resolver.query_func
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Oct 12, 2024
1 parent cd23254 commit 2d3c771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/01-unit/21-dns-client/03-client_cache_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ describe("[DNS client cache]", function()
assert(client.init(config))
lrucache = client.getcache()

query_func = function(self, original_query_func, qname, opts)
resolver.query_func = function(self, original_query_func, qname, opts)
return mock_records[qname..":"..opts.qtype] or { errcode = 3, errstr = "name error" }
end
end)
Expand Down

0 comments on commit 2d3c771

Please sign in to comment.