mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-24 22:02:19 +00:00
chore(userspace/engine): clean up leftover
Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com> Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
parent
3355d0d215
commit
469749a2b5
@ -107,15 +107,6 @@ int falco_formats::lua_free_formatter(lua_State *ls)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void falco_formats::free_formatters()
|
||||
{
|
||||
if(s_formatters)
|
||||
{
|
||||
delete(s_formatters);
|
||||
s_formatters = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
string falco_formats::format_event(const gen_event *evt, const std::string &rule, const std::string &source,
|
||||
const std::string &level, const std::string &format)
|
||||
{
|
||||
|
@ -45,8 +45,6 @@ public:
|
||||
// falco.free_formatter(formatter)
|
||||
static int lua_free_formatter(lua_State *ls);
|
||||
|
||||
static void free_formatters();
|
||||
|
||||
static string format_event(const gen_event *evt, const std::string &rule, const std::string &source,
|
||||
const std::string &level, const std::string &format);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user