diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-10 20:11:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-10 20:11:27 +0100 |
commit | 750dc617973a51dff0bd191a2222b3a6926997ce (patch) | |
tree | 01ba76727f3a68eec86ffcb3aaff223bb2ec1dba /src/plugins | |
parent | c8846c01cc9acf3c12c7044c5965a7e6a1e5586f (diff) | |
download | rspamd-750dc617973a51dff0bd191a2222b3a6926997ce.tar.gz rspamd-750dc617973a51dff0bd191a2222b3a6926997ce.zip |
[Minor] Fix ES plugin
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/elastic.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index 18cc0ea09..960516bf4 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -36,6 +36,7 @@ local N = "elastic" local E = {} local connect_prefix = 'http://' local enabled = true +local ingest_geoip_type = 'plugins' local settings = { limit = 500, index_pattern = 'rspamd-%Y.%m.%d', @@ -448,8 +449,6 @@ if redis_params and opts then if settings.ingest_module then ingest_geoip_type = 'modules' - else - ingest_geoip_type = 'plugins' end settings.upstream = upstream_list.create(rspamd_config, |