From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:42:02 +0000 (+0200) Subject: fix variables for ucl errors X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69099098799749cf6499cf0a37e04af7fa7731ac;p=rspamd.git fix variables for ucl errors --- diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index ae7e577f3..d4a5fdf85 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -833,12 +833,12 @@ local function get_index_policy(cfg, ev_base, upstream, host, policy_url, index_ end end else - rspamd_logger.errx(rspamd_config, 'failed to parse our index policy for elastic: %s', ucl_err) + rspamd_logger.errx(rspamd_config, 'failed to parse our index policy for elastic: %s', op_ucl_err) upstream:fail() handle_error('parse our', 'index_policy', settings['limits']['max_fail']) end else - rspamd_logger.errx(rspamd_config, 'failed to parse remote index policy from elastic: %s', ucl_err) + rspamd_logger.errx(rspamd_config, 'failed to parse remote index policy from elastic: %s', rp_ucl_err) upstream:fail() handle_error('parse remote', 'index_policy', settings['limits']['max_fail']) end