From fb466004e675ffd30c438ce5e3fc37c9a686eeaa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 11 May 2018 15:18:47 +0100 Subject: [PATCH] [Minor] Add 'no action' as available threshold --- lualib/lua_cfg_transform.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index 2fe8cb9c6..0e6261acd 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -241,7 +241,8 @@ return function(cfg) logger.errx('no actions defined') else -- Perform sanity check for actions - local actions_defs = {'greylist', 'add header', 'add_header', + local actions_defs = {'no action', 'no_action', -- In case if that's added + 'greylist', 'add header', 'add_header', 'rewrite subject', 'rewrite_subject', 'reject'} if not cfg.actions['no action'] and not cfg.actions['no_action'] and -- 2.39.5