diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-09 12:16:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-09 12:16:30 +0000 |
commit | ddc8561f295d13f1d5274a4e5ef0c8e95fcc6d1f (patch) | |
tree | 1f0e304e9bd52d65af2526cab82ffb386eb51831 /src/plugins/lua/elastic.lua | |
parent | 6e497db7986a7051a093c01398ad052abdf5404d (diff) | |
download | rspamd-ddc8561f295d13f1d5274a4e5ef0c8e95fcc6d1f.tar.gz rspamd-ddc8561f295d13f1d5274a4e5ef0c8e95fcc6d1f.zip |
[Minor] Silence bloody luacheck
Diffstat (limited to 'src/plugins/lua/elastic.lua')
-rw-r--r-- | src/plugins/lua/elastic.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index a344a4bb7..3fa73c022 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -207,10 +207,10 @@ local function check_elastic_server(cfg, ev_base, _) local function http_callback(_, err, body, _) if err == 200 then local parser = ucl.parser() - local res,err = parser:parse_string(body) + local res,ucl_err = parser:parse_string(body) if not res then rspamd_logger.infox(rspamd_config, 'failed to parse reply from %s: %s', - plugins_url, err) + plugins_url, ucl_err) enabled = false; return end |