commit 3d29375: [Fix] Fix ES sending logic (restore from coroutines mess)
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Mar 21 13:21:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-21 13:14:04 +0000
URL: https://github.com/rspamd/rspamd/commit/3d293752557974fdedfec048fe95179fd70f6803 (HEAD -> master)
[Fix] Fix ES sending logic (restore from coroutines mess)
Issue: #2808
Closes: #2808
---
src/plugins/lua/elastic.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua
index b6da33bf8..03462f9eb 100644
--- a/src/plugins/lua/elastic.lua
+++ b/src/plugins/lua/elastic.lua
@@ -96,7 +96,7 @@ local function elastic_send_data(task)
end
end
- rspamd_http.request({
+ return rspamd_http.request({
url = push_url,
headers = {
['Content-Type'] = 'application/x-ndjson',
More information about the Commits
mailing list