summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/known_senders.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/known_senders.lua b/src/plugins/lua/known_senders.lua
index 5a04c7dd0..588a180fc 100644
--- a/src/plugins/lua/known_senders.lua
+++ b/src/plugins/lua/known_senders.lua
@@ -83,7 +83,7 @@ local function check_redis_key(task, key, key_ty)
task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
else
if settings.symbol_unknown then
- task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
+ task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key))
end
lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty)
-- Insert key to zset and trim it's cardinality
@@ -118,7 +118,7 @@ local function check_redis_key(task, key, key_ty)
task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
else
if settings.symbol_unknown then
- task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
+ task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key))
end
lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty)
-- Reserve bloom filter space