From 2d7d4ff1b1050f0b72d4f9df8326e7fd99b2cc2f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 25 Sep 2023 15:10:55 +0100 Subject: [PATCH] [Minor] Fix symbol name --- src/plugins/lua/known_senders.lua | 4 ++-- 1 file 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 -- 2.39.5