From: Vsevolod Stakhov Date: Fri, 9 Mar 2018 12:16:30 +0000 (+0000) Subject: [Minor] Silence bloody luacheck X-Git-Tag: 1.7.0~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ddc8561f295d13f1d5274a4e5ef0c8e95fcc6d1f;p=rspamd.git [Minor] Silence bloody luacheck --- 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