diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-21 09:42:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-21 09:42:22 +0100 |
commit | aacb7066482ef7a2cb966bfe2f76c73df80b7466 (patch) | |
tree | 98227389b1c00d29165f4337dfebabe4f0dc38e4 /test/functional | |
parent | 42a4525a65755c22df803265b36c50df4db19091 (diff) | |
download | rspamd-aacb7066482ef7a2cb966bfe2f76c73df80b7466.tar.gz rspamd-aacb7066482ef7a2cb966bfe2f76c73df80b7466.zip |
[Fix] Use proper syntax for making DNS requests
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/lua/prepostfilters.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/prepostfilters.lua b/test/functional/lua/prepostfilters.lua index 4f14d0222..c87c95849 100644 --- a/test/functional/lua/prepostfilters.lua +++ b/test/functional/lua/prepostfilters.lua @@ -16,7 +16,7 @@ for i = 1,10 do end if task:has_symbol('TEST_PRE') then local r = task:get_resolver() - r:resolve_a(task:get_session(), task:get_mempool(), 'example.com', dns_cb) + r:resolve_a({task = task, name = 'example.com', callback = dns_cb}) end end }) |