Skip to content

Commit

Permalink
chore: lua dir is not needed anymore in falco_outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr committed Sep 29, 2020
1 parent 21a1b56 commit a019a76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions userspace/falco/falco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -971,14 +971,12 @@ int falco_init(int argc, char **argv)
hostname = c_hostname;
}


outputs->init(config.m_json_output,
config.m_json_include_output_property,
config.m_notifications_rate, config.m_notifications_max_burst,
config.m_buffered_outputs,
config.m_time_format_iso_8601,
hostname,
alternate_lua_dir);
hostname);

if(!all_events)
{
Expand Down
3 changes: 1 addition & 2 deletions userspace/falco/falco_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ falco_outputs::~falco_outputs()
void falco_outputs::init(bool json_output,
bool json_include_output_property,
uint32_t rate, uint32_t max_burst, bool buffered,
bool time_format_iso_8601, string hostname,
const string &alternate_lua_dir)
bool time_format_iso_8601, string hostname)
{
// The engine must have been given an inspector by now.
if(!m_inspector)
Expand Down
3 changes: 1 addition & 2 deletions userspace/falco/falco_outputs.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class falco_outputs : public falco_common
void init(bool json_output,
bool json_include_output_property,
uint32_t rate, uint32_t max_burst, bool buffered,
bool time_format_iso_8601, std::string hostname,
const std::string& alternate_lua_dir);
bool time_format_iso_8601, std::string hostname);

void add_output(falco::outputs::config oc);

Expand Down

0 comments on commit a019a76

Please sign in to comment.