summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/metadata_exporter.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-16 16:06:36 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-16 16:06:36 +0200
commit16f2de7c829fddc4525c99059f7064748ec7ff3a (patch)
tree485c0c1f79b1cef494974e8d6c21b621b5b84d44 /src/plugins/lua/metadata_exporter.lua
parenta198fea999bc5a35ef8c96236dc007fe69861dda (diff)
downloadrspamd-16f2de7c829fddc4525c99059f7064748ec7ff3a.tar.gz
rspamd-16f2de7c829fddc4525c99059f7064748ec7ff3a.zip
[Minor] Move upstream handling into rspamd_redis_make_request
Diffstat (limited to 'src/plugins/lua/metadata_exporter.lua')
-rw-r--r--src/plugins/lua/metadata_exporter.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua
index d2c0fa620..e95478b48 100644
--- a/src/plugins/lua/metadata_exporter.lua
+++ b/src/plugins/lua/metadata_exporter.lua
@@ -69,9 +69,6 @@ local function metadata_exporter(task)
if err then
rspamd_logger.errx(task, 'got error %s when publishing record on server %s',
err, upstream:get_addr())
- upstream:fail()
- else
- upstream:ok()
end
end
if settings.select then