Skip to content

Commit

Permalink
Remove redundant assignment
Browse files Browse the repository at this point in the history
We set the container type in the calling method
  • Loading branch information
gnosek committed Feb 28, 2019
1 parent 9004f82 commit ad5b647
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion userspace/libsinsp/container_engine/cri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ bool parse_cri(sinsp_container_manager *manager, sinsp_container_info *container

const auto &resp_container = resp.status();
container->m_name = resp_container.metadata().name();
container->m_type = s_cri_runtime_type;

for(const auto &pair : resp_container.labels())
{
Expand Down

0 comments on commit ad5b647

Please sign in to comment.