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 /docs/contributing | |
parent | bde07cba29cefda2f701505ae9764aa7f203aea4 (diff) |
feat: move dirs, logs, and env vars config options to separate sections (#12935)
Diffstat (limited to 'docs/contributing')
-rw-r--r-- | docs/contributing/style-guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contributing/style-guide.md b/docs/contributing/style-guide.md index 2af58d54ae..5ff61164d1 100644 --- a/docs/contributing/style-guide.md +++ b/docs/contributing/style-guide.md @@ -443,7 +443,7 @@ code, for example: 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); } ``` ```` @@ -454,7 +454,7 @@ And the prettified result: 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); } ``` |