diff --git a/userspace/libsinsp/cri.h b/userspace/libsinsp/cri.h index 6ee41949f6..ee18eb2112 100644 --- a/userspace/libsinsp/cri.h +++ b/userspace/libsinsp/cri.h @@ -69,10 +69,6 @@ class cri_settings { get().m_cri_runtime_type = v; } - static const std::string &get_cri_unix_socket_path() { return get().m_cri_unix_socket_path; } - - static void set_cri_unix_socket_path(const std::string &v) { get().m_cri_unix_socket_path = v; } - static const bool &get_cri_extra_queries() { return get().m_cri_extra_queries; } static void set_cri_extra_queries(const bool &v) { get().m_cri_extra_queries = v; } @@ -93,7 +89,6 @@ class cri_settings { int64_t m_cri_timeout; int64_t m_cri_size_timeout; sinsp_container_type m_cri_runtime_type; - std::string m_cri_unix_socket_path; bool m_cri_extra_queries; }; diff --git a/userspace/libsinsp/cri_settings.cpp b/userspace/libsinsp/cri_settings.cpp index 32abaa8e4a..4e7c4c9c87 100644 --- a/userspace/libsinsp/cri_settings.cpp +++ b/userspace/libsinsp/cri_settings.cpp @@ -26,7 +26,6 @@ cri_settings::cri_settings(): m_cri_timeout(1000), m_cri_size_timeout(10000), m_cri_runtime_type(CT_CRI), - m_cri_unix_socket_path(), m_cri_extra_queries(true) {} cri_settings::~cri_settings() {}