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