diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-05-01 14:25:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 14:25:10 +0300 |
commit | a481b3001e2746e9f76e8cdee516df10b6cb8c3d (patch) | |
tree | deccdfb239a1fea30eda052f37abca37f3fbf0b3 | |
parent | 2d678553f61def35de008b3fefd67ae6572939b3 (diff) |
fix config generation for plugins (#14990)
-rw-r--r-- | libnetdata/config/appconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/config/appconfig.c b/libnetdata/config/appconfig.c index f5d0bd3c29..d346da85f4 100644 --- a/libnetdata/config/appconfig.c +++ b/libnetdata/config/appconfig.c @@ -831,7 +831,7 @@ void appconfig_generate(struct config *root, BUFFER *wb, int only_changed) "#\n" "\n# global netdata configuration\n"); - for(i = 0; i <= 16 ;i++) { + for(i = 0; i <= 17 ;i++) { appconfig_wrlock(root); for(co = root->first_section; co ; co = co->next) { if(!strcmp(co->name, CONFIG_SECTION_GLOBAL)) pri = 0; |