commit d67b81e: [Minor] Fix inequality sign in log message

GitHub noreply at github.com
Wed Jul 10 10:35:05 UTC 2019


Author: Alexander Moisseev
Date: 2019-07-10 10:39:15 +0300
URL: https://github.com/rspamd/rspamd/commit/d67b81e321fa61be55f1c3b8f2d64b9f22bc51b1 (refs/pull/2969/head)

[Minor] Fix inequality sign in log message

---
 src/plugins/lua/neural.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index b88890c24..c6dfa074a 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -375,7 +375,7 @@ local function ann_push_task_result(rule, task, verdict, score, set)
     if train_opts.ham_score then
       learn_ham = score <= train_opts.ham_score
       if not learn_ham then
-        skip_reason = string.format('score > ham_score: %f < %f',
+        skip_reason = string.format('score > ham_score: %f > %f',
             score, train_opts.ham_score)
       end
     else


More information about the Commits mailing list