Skip to content

Commit

Permalink
chore(userspace/falco): remove leftover from outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr committed Oct 14, 2020
1 parent 2369a2d commit f6c7deb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion userspace/falco/falco_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void falco_outputs::add_output(falco::outputs::config oc)
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);
}

Expand Down
6 changes: 1 addition & 5 deletions userspace/falco/outputs.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@ struct config
class abstract_output
{
public:
void init(config oc, bool buffered,
bool time_format_iso_8601, std::string hostname)
void init(config oc, bool buffered, std::string hostname)
{

m_oc = oc;
m_buffered = buffered;
m_time_format_iso_8601 = time_format_iso_8601;
m_hostname = hostname;
}

Expand All @@ -69,7 +66,6 @@ class abstract_output
protected:
config m_oc;
bool m_buffered;
bool m_time_format_iso_8601;
std::string m_hostname;
};

Expand Down

0 comments on commit f6c7deb

Please sign in to comment.