diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-05-17 17:31:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 17:31:19 +0300 |
commit | 0fa55c7dcee497d6cfb725604d03ffc300a97ebd (patch) | |
tree | c904020933789c4692a5c4026e01b015a3e7e8d2 /health/health.c | |
parent | bde07cba29cefda2f701505ae9764aa7f203aea4 (diff) |
feat: move dirs, logs, and env vars config options to separate sections (#12935)
Diffstat (limited to 'health/health.c')
-rw-r--r-- | health/health.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.c b/health/health.c index df3802497e..bb185c85cc 100644 --- a/health/health.c +++ b/health/health.c @@ -58,7 +58,7 @@ static inline void unlink_alarm_notify_in_progress(ALARM_ENTRY *ae) inline char *health_user_config_dir(void) { char buffer[FILENAME_MAX + 1]; snprintfz(buffer, FILENAME_MAX, "%s/health.d", netdata_configured_user_config_dir); - return config_get(CONFIG_SECTION_HEALTH, "health configuration directory", buffer); + return config_get(CONFIG_SECTION_DIRECTORIES, "health config", buffer); } /** @@ -71,7 +71,7 @@ inline char *health_user_config_dir(void) { inline char *health_stock_config_dir(void) { char buffer[FILENAME_MAX + 1]; snprintfz(buffer, FILENAME_MAX, "%s/health.d", netdata_configured_stock_config_dir); - return config_get(CONFIG_SECTION_HEALTH, "stock health configuration directory", buffer); + return config_get(CONFIG_SECTION_DIRECTORIES, "stock health config", buffer); } /** |