diff --git a/userspace/engine/falco_engine.h b/userspace/engine/falco_engine.h index 4ea3a43a..78e99e1d 100644 --- a/userspace/engine/falco_engine.h +++ b/userspace/engine/falco_engine.h @@ -147,7 +147,7 @@ public: // of all output expressions. You can also choose to replace // %container.info with the extra information or add it to the // end of the expression. This is used in open source falco to - // add k8s/mesos/container information to outputs when + // add k8s/container information to outputs when // available. // void set_extra(std::string &extra, bool replace_container_info); diff --git a/userspace/falco/app/actions/init_clients.cpp b/userspace/falco/app/actions/init_clients.cpp index 232c58f1..178642c7 100644 --- a/userspace/falco/app/actions/init_clients.cpp +++ b/userspace/falco/app/actions/init_clients.cpp @@ -64,27 +64,6 @@ falco::app::run_result falco::app::actions::init_clients(falco::app::state& s) } inspector->init_k8s_client(k8s_api_ptr, k8s_api_cert_ptr, k8s_node_name_ptr, s.options.verbose); } - - // - // DEPRECATED! - // Run mesos, if required - // todo(leogr): remove in Falco 0,.35 - // - if(!s.options.mesos_api.empty()) - { - // Differs from init_k8s_client in that it - // passes a pointer but the inspector does - // *not* own it and does not use it after - // init_mesos_client() returns. - falco_logger::log(LOG_WARNING, "Mesos support has been DEPRECATED and will be removed in the next version!\n"); - inspector->init_mesos_client(&(s.options.mesos_api), s.options.verbose); - } - else if(char* mesos_api_env = getenv("FALCO_MESOS_API")) - { - falco_logger::log(LOG_WARNING, "Mesos support has been DEPRECATED and will be removed in the next version!\n"); - std::string mesos_api_copy = mesos_api_env; - inspector->init_mesos_client(&mesos_api_copy, s.options.verbose); - } #endif return run_result::ok(); diff --git a/userspace/falco/app/options.h b/userspace/falco/app/options.h index a9930933..99effbdf 100644 --- a/userspace/falco/app/options.h +++ b/userspace/falco/app/options.h @@ -63,7 +63,6 @@ public: std::string print_plugin_info; bool list_syscall_events; bool markdown; - std::string mesos_api; int duration_to_tot; bool names_only; std::vector cmdline_config_options;