@cryptotaxi247 / netdata-1 / commits / 9effbee01

fix(cgroups.plugin): use correct identifier when registering the main thread "chart" worker job (#12902)

use main thread chart job registration

Ilya Mashchenko committed May 13, 2022 at 18:31 UTC 9effbee01f4057eb8f90b3b1e37f4c7f97cbad35
1 file changed +1 -1
collectors/cgroups.plugin/sys_fs_cgroup.c
+1 -1
@@ -4901,7 +4901,7 @@ void *cgroups_main(void *ptr) {
4901 worker_register("CGROUPS");
4902 worker_register_job_name(WORKER_CGROUPS_LOCK, "lock");
4903 worker_register_job_name(WORKER_CGROUPS_READ, "read");
4904 - worker_register_job_name(WORKER_CGROUPS_READ, "chart");
4904 + worker_register_job_name(WORKER_CGROUPS_CHART, "chart");
4905
4906 netdata_thread_cleanup_push(cgroup_main_cleanup, ptr);
4907