Skip to content

Commit

Permalink
chore(userspace/libsinsp): cleanup accessors for single CRI unix sock…
Browse files Browse the repository at this point in the history
…et path

Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr committed Dec 11, 2024
1 parent 9fecc11 commit fded35b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions userspace/libsinsp/cri.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -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;
};

Expand Down
1 change: 0 additions & 1 deletion userspace/libsinsp/cri_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit fded35b

Please sign in to comment.