chore(userspace/falco): remove leftover from outputs

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2020-10-14 15:35:12 +02:00 committed by poiana
parent 6e36afdba3
commit 7b8f67fdbd
2 changed files with 2 additions and 6 deletions

View File

@ -123,7 +123,7 @@ void falco_outputs::add_output(falco::outputs::config oc)
throw falco_exception("Output not supported: " + oc.name); throw falco_exception("Output not supported: " + oc.name);
} }
oo->init(oc, m_buffered, m_time_format_iso_8601, m_hostname); oo->init(oc, m_buffered, m_hostname);
m_outputs.push_back(oo); m_outputs.push_back(oo);
} }

View File

@ -45,13 +45,10 @@ struct config
class abstract_output class abstract_output
{ {
public: public:
void init(config oc, bool buffered, void init(config oc, bool buffered, std::string hostname)
bool time_format_iso_8601, std::string hostname)
{ {
m_oc = oc; m_oc = oc;
m_buffered = buffered; m_buffered = buffered;
m_time_format_iso_8601 = time_format_iso_8601;
m_hostname = hostname; m_hostname = hostname;
} }
@ -69,7 +66,6 @@ public:
protected: protected:
config m_oc; config m_oc;
bool m_buffered; bool m_buffered;
bool m_time_format_iso_8601;
std::string m_hostname; std::string m_hostname;
}; };