From 1f8f8550802a367fc92aaea29b8bd3f1682aa341 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Mon, 12 Sep 2016 15:54:06 -0500 Subject: [PATCH] Always initialize privileged to false. (#658) 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. --- userspace/libsinsp/container.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userspace/libsinsp/container.h b/userspace/libsinsp/container.h index 8896e57f62..7e8652206e 100644 --- a/userspace/libsinsp/container.h +++ b/userspace/libsinsp/container.h @@ -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) { }