From 76159df4b2ee19ea36d5809e8a1a68e58fa12d5f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 17 May 2017 17:08:38 +0200 Subject: [PATCH] [Minor] DMARC: s/type/format/ --- src/plugins/lua/dmarc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index f27ca2a23..377ecc30f 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -574,7 +574,7 @@ local function dmarc_callback(task) end end -- Prepare and send redis report element - local period = os.date('%Y%m%d', task:get_date({type = 'connect', gmt = true})) + local period = os.date('%Y%m%d', task:get_date({format = 'connect', gmt = true})) local dmarc_domain_key = table.concat({redis_keys.report_prefix, hfromdom, period}, redis_keys.join_char) local report_data = dmarc_report(task, spf_ok and 'pass' or 'fail', dkim_ok and 'pass' or 'fail', disposition, sampled_out, hfromdom, spf_domain, dkim_results, spf_result) -- 2.39.5