diff options
author | George Moschovitis <george.moschovitis@gmail.com> | 2018-12-13 15:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 15:30:21 +0200 |
commit | 6b05a213029d0097a98e26b6c2aa4ff635f37182 (patch) | |
tree | 7099b599cd7a19916f9cbee882e5012b27b2d1f0 /libnetdata/config | |
parent | a1690b4978675c3ca995d1ec1613a84a66d2a8c0 (diff) |
Pass cloud_base_url from daemon to web/gui through hello endpoint #4980 (#4982)
* Pass cloud_base_url from daemon to web/gui through hello endpoint #4980
* Make sure the [cloud] section goes into the general part of netdata.conf #4980
Diffstat (limited to 'libnetdata/config')
-rw-r--r-- | libnetdata/config/appconfig.c | 1 | ||||
-rw-r--r-- | libnetdata/config/appconfig.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libnetdata/config/appconfig.c b/libnetdata/config/appconfig.c index 4115384465..9e6a0c02ce 100644 --- a/libnetdata/config/appconfig.c +++ b/libnetdata/config/appconfig.c @@ -538,6 +538,7 @@ void appconfig_generate(struct config *root, BUFFER *wb, int only_changed) || !strcmp(co->name, CONFIG_SECTION_WEB) || !strcmp(co->name, CONFIG_SECTION_STATSD) || !strcmp(co->name, CONFIG_SECTION_PLUGINS) + || !strcmp(co->name, CONFIG_SECTION_CLOUD) || !strcmp(co->name, CONFIG_SECTION_REGISTRY) || !strcmp(co->name, CONFIG_SECTION_HEALTH) || !strcmp(co->name, CONFIG_SECTION_BACKEND) diff --git a/libnetdata/config/appconfig.h b/libnetdata/config/appconfig.h index 6ac666d8b2..78099aad4a 100644 --- a/libnetdata/config/appconfig.h +++ b/libnetdata/config/appconfig.h @@ -86,6 +86,7 @@ #define CONFIG_SECTION_WEB "web" #define CONFIG_SECTION_STATSD "statsd" #define CONFIG_SECTION_PLUGINS "plugins" +#define CONFIG_SECTION_CLOUD "cloud" #define CONFIG_SECTION_REGISTRY "registry" #define CONFIG_SECTION_HEALTH "health" #define CONFIG_SECTION_BACKEND "backend" |