mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-31 22:16:49 +00:00
update(gvisor): make gvisor_enable depend on config
Signed-off-by: Luca Guerra <luca@guerra.sh> Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
993516f430
commit
982e8663be
@ -30,6 +30,7 @@ namespace app {
|
||||
cmdline_options::cmdline_options()
|
||||
: event_buffer_format(sinsp_evt::PF_NORMAL),
|
||||
list_plugins(false),
|
||||
gvisor_config(""),
|
||||
m_cmdline_opts("falco", "Falco - Cloud Native Runtime Security")
|
||||
{
|
||||
define();
|
||||
|
@ -196,7 +196,7 @@ private:
|
||||
|
||||
inline bool is_gvisor_enabled() const
|
||||
{
|
||||
return m_state->inspector->is_gvisor();
|
||||
return !m_options.gvisor_config.empty();
|
||||
}
|
||||
|
||||
std::unique_ptr<state> m_state;
|
||||
|
Loading…
Reference in New Issue
Block a user