mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-27 15:17:50 +00:00
Fix typo-bug in lua code
This commit is contained in:
parent
f0da1c724b
commit
33ad92e98b
@ -140,7 +140,7 @@ end
|
||||
evt = nil
|
||||
function on_event(evt_, rule_id)
|
||||
if state.outputs[rule_id].type == "format" then
|
||||
print(digwatch.format_event(evt, state.outputs[rule_id].formatter))
|
||||
print(digwatch.format_event(evt_, state.outputs[rule_id].formatter))
|
||||
elseif state.outputs[rule_id].type == "function" then
|
||||
local reqmod = "local "..state.outputs[rule_id].mname.." = require('" ..state.outputs[rule_id].mname .. "')";
|
||||
evt = evt_
|
||||
|
Loading…
Reference in New Issue
Block a user