Don't repeat the cgroup discovery cleanup info message (#11101)
Vladimir Kobal committed
May 6, 2021 at 14:38 UTC
ac88cbee068f458f86106101f4443df967dbc2a4
1 file changed
+2
-1
collectors/cgroups.plugin/sys_fs_cgroup.c
+2
-1
@@ -4002,9 +4002,10 @@ static void cgroup_main_cleanup(void *ptr) {
4002
uv_mutex_unlock(&discovery_thread.mutex);
4003
}
4004
4005
+ info("waiting for discovery thread to finish...");
4006
+
4007
while (!discovery_thread.exited && max > 0) {
4008
max -= step;
4007
- info("waiting for discovery thread to finish...");
4009
sleep_usec(step);
4010
}
4011