summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-04-25 16:59:54 +0300
committerGitHub <noreply@github.com>2022-04-25 16:59:54 +0300
commit7b7fbd6086207cf05a18fe1344833edfe03a8264 (patch)
treec9a74f76708fd182eff93783e9da381fc4418d4c /daemon
parent5e8b714acc6a385013c7ddda596f335b298284b6 (diff)
fix(cgroups.plugin): remove "enable cgroup X" config option on cgroup deletion (#12746)
Diffstat (limited to 'daemon')
-rw-r--r--daemon/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/common.h b/daemon/common.h
index e11a6d6b6c..2a45ffe70e 100644
--- a/daemon/common.h
+++ b/daemon/common.h
@@ -27,6 +27,8 @@
#define config_generate(buffer, only_changed) appconfig_generate(&netdata_config, buffer, only_changed)
+#define config_section_option_destroy(section, name) appconfig_section_option_destroy_non_loaded(&netdata_config, section, name)
+
// ----------------------------------------------------------------------------
// netdata include files