Skip to content

Commit

Permalink
fix(libsinsp): avoid double dumping containers and users
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed Jan 16, 2024
1 parent aa8b9d7 commit dae7cb7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions userspace/libsinsp/sinsp_cycledumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ void sinsp_cycledumper::autodump_start(const std::string& dump_filename)
m_compress ? SCAP_COMPRESSION_GZIP : SCAP_COMPRESSION_NONE);

m_inspector->m_is_dumping = true;

m_inspector->m_container_manager.dump_containers(*m_dumper);

m_inspector->m_usergroup_manager.dump_users_groups(*m_dumper);
}

void sinsp_cycledumper::next_file()
Expand Down

0 comments on commit dae7cb7

Please sign in to comment.