]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix external_map_schema call in lua_maps
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 18 Nov 2025 20:24:26 +0000 (20:24 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 18 Nov 2025 20:24:26 +0000 (20:24 +0000)
lualib/lua_maps.lua

index 5e3750870607a75e055046e5e7c64926c11676f4..a11e1d6a092038043e638c4bb1b68bdb5abddcb6 100644 (file)
@@ -497,7 +497,7 @@ local function rspamd_map_add_from_ucl(opt, mtype, description, callback)
     else
       if opt.external then
         -- External map definition, missing fields are handled by schema
-        local parse_res, parse_err = external_map_schema(opt)
+        local parse_res, parse_err = external_map_schema:transform(opt)
 
         if parse_res then
           if opt.cdb then