Skip to content
Snippets Groups Projects
Commit 2dedbc5e authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix collection of gid of Docker socket

parent 3d4327a9
Branches
Tags
1 merge request!43Merging develop into main
Pipeline #632774 passed
......@@ -233,7 +233,7 @@ class Handler extends BaseHandler {
$this->config->setValue('relatedprojectdomains', $relatedprojectdomains, FALSE);
// Get ID of Docker group
$docker_group_id = shell_exec('stat -c "%g" /var/run/docker.sock');
$docker_group_id = trim(shell_exec('stat -c "%g" /var/run/docker.sock'));
$this->config->setValue('docker_group_id', $docker_group_id, FALSE);
if ($alerta_api_key = getenv('ALERTA_APIKEY')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment