Skip to content

Commit

Permalink
Set all container metadata fields to incomplete
Browse files Browse the repository at this point in the history
Instead of just setting the image to incomplete, set all container
metadata fields to incomplete.
  • Loading branch information
mstemm committed Apr 17, 2019
1 parent 84a6558 commit 8d65ac8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userspace/libsinsp/container_engine/docker_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ bool docker::resolve(sinsp_container_manager* manager, sinsp_threadinfo* tinfo,
container_info.m_id = container_id;
container_info.m_name = container_name;
container_info.m_image = s_incomplete_info_name;
container_info.m_imageid = s_incomplete_info_name;
container_info.m_imagerepo = s_incomplete_info_name;
container_info.m_imagetag = s_incomplete_info_name;
container_info.m_imagedigest = s_incomplete_info_name;
container_info.m_metadata_complete = false;

manager->add_container(container_info, tinfo);
Expand Down

0 comments on commit 8d65ac8

Please sign in to comment.