mirror of
https://github.com/falcosecurity/falco.git
synced 2026-03-18 18:58:41 +00:00
Fix final error direct from load_rules
Next is tackling compile_filter.
This commit is contained in:
@@ -613,7 +613,7 @@ function load_rules(sinsp_lua_parser,
|
||||
formatter = formats.formatter(v['source'], v['output'])
|
||||
formats.free_formatter(v['source'], formatter)
|
||||
else
|
||||
error ("Unexpected type in load_rule: "..filter_ast.type)
|
||||
return false, indices[i], 1, "Unexpected type in load_rule: "..filter_ast.type
|
||||
end
|
||||
|
||||
::next_rule::
|
||||
|
||||
Reference in New Issue
Block a user