Skip to content

Commit

Permalink
Always initialize privileged to false. (#658)
Browse files Browse the repository at this point in the history
This way, we don't fully rely on the container type being docker or the
response from GET /container/XXX/json having a Privileged field.
  • Loading branch information
mstemm committed Sep 12, 2016
1 parent de076df commit e4797af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userspace/libsinsp/container.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ class sinsp_container_info
m_swap_limit(0),
m_cpu_shares(1024),
m_cpu_quota(0),
m_cpu_period(100000)
m_cpu_period(100000),
m_privileged(false)
{
}

Expand Down

0 comments on commit e4797af

Please sign in to comment.