commit 191d570: [Minor] Fix missed spaces in log messages
GitHub
noreply at github.com
Wed Jul 10 10:28:05 UTC 2019
Author: Alexander Moisseev
Date: 2019-07-10 10:13:04 +0300
URL: https://github.com/rspamd/rspamd/commit/191d5700bed6560d4bc585b9fb91ad8f2580884f (refs/pull/2968/head)
[Minor] Fix missed spaces in log messages
---
src/plugins/lua/neural.lua | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index b88890c24..1816e18b5 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -867,14 +867,14 @@ local function process_existing_ann(_, ev_base, rule, set, profiles)
-- Same ANN, check version
if set.ann.version < sel_elt.version then
-- Load new ann
- rspamd_logger.infox(rspamd_config, 'ann %s is changed,' ..
+ rspamd_logger.infox(rspamd_config, 'ann %s is changed, ' ..
'our version = %s, remote version = %s',
rule.prefix .. ':' .. set.name,
set.ann.version,
sel_elt.version)
load_new_ann(rule, ev_base, set, sel_elt, min_diff)
else
- lua_util.debugm(N, rspamd_config, 'ann %s is not changed,' ..
+ lua_util.debugm(N, rspamd_config, 'ann %s is not changed, ' ..
'our version = %s, remote version = %s',
rule.prefix .. ':' .. set.name,
set.ann.version,
@@ -884,14 +884,14 @@ local function process_existing_ann(_, ev_base, rule, set, profiles)
-- We have some different ANN, so we need to compare distance
if set.ann.distance > min_diff then
-- Load more specific ANN
- rspamd_logger.infox(rspamd_config, 'more specific ann is available for %s,' ..
+ rspamd_logger.infox(rspamd_config, 'more specific ann is available for %s, ' ..
'our distance = %s, remote distance = %s',
rule.prefix .. ':' .. set.name,
set.ann.distance,
min_diff)
load_new_ann(rule, ev_base, set, sel_elt, min_diff)
else
- lua_util.debugm(N, rspamd_config, 'ann %s is not changed or less specific,' ..
+ lua_util.debugm(N, rspamd_config, 'ann %s is not changed or less specific, ' ..
'our distance = %s, remote distance = %s',
rule.prefix .. ':' .. set.name,
set.ann.distance,
More information about the Commits
mailing list