commit a7ab885: [Minor] Clickhouse: Use proper flag names

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Feb 25 16:14:07 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-02-25 16:12:11 +0000
URL: https://github.com/rspamd/rspamd/commit/a7ab8856d42746aab0abc77eee1e5564513a4497 (HEAD -> master)

[Minor] Clickhouse: Use proper flag names

---
 src/plugins/lua/clickhouse.lua | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 0234a9cf6..7ef093cc2 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -644,9 +644,9 @@ local function clickhouse_collect(task)
 
   local nurls = 0
   local task_urls = task:get_urls({
-   need_content = true,
-   need_images = true,
-   need_emails = false,
+   content = true,
+   images = true,
+   emails = false,
    sort = true,
   }) or {}
 


More information about the Commits mailing list