chore: lua dir is not needed anymore in falco_outputs

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2020-09-29 18:40:06 +02:00 committed by poiana
parent e4aa646146
commit b74d60289c
3 changed files with 3 additions and 7 deletions

View File

@ -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)
{

View File

@ -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)

View File

@ -40,8 +40,7 @@ public:
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);