From c089eda0e195cbfb49805853b69fde55597c6aa0 Mon Sep 17 00:00:00 2001 From: Aleksandr Romanov Date: Thu, 12 Mar 2015 14:55:03 +0300 Subject: [PATCH] zbx_docker_perm typo --- src/modules/zabbix_module_docker/zabbix_module_docker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/zabbix_module_docker/zabbix_module_docker.c b/src/modules/zabbix_module_docker/zabbix_module_docker.c index 2d9045a..a2dd3bd 100644 --- a/src/modules/zabbix_module_docker/zabbix_module_docker.c +++ b/src/modules/zabbix_module_docker/zabbix_module_docker.c @@ -646,7 +646,7 @@ int zbx_docker_perm() { zabbix_log(LOG_LEVEL_DEBUG, "In zbx_docker_perm()"); // I hope that zabbix user can't be member of more than 10 groups - int j, ngroups = 2; + int j, ngroups = 10; gid_t *groups; struct passwd *pw; struct group *gr; @@ -905,4 +905,4 @@ int zbx_module_docker_discovery_extended(AGENT_REQUEST *request, AGENT_RESUL zbx_json_free(&j); return SYSINFO_RET_OK; -} \ No newline at end of file +}