From 0fa55c7dcee497d6cfb725604d03ffc300a97ebd Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Tue, 17 May 2022 17:31:19 +0300 Subject: feat: move dirs, logs, and env vars config options to separate sections (#12935) --- health/health.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'health/health.c') 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); } /** -- cgit v1.2.3