]> arthur.barton.de Git - netdata.git/blobdiff - src/appconfig.c
registry server side operational
[netdata.git] / src / appconfig.c
index 26ff4f4b29cca3fce90dce6a5f6d02bde3e401a7..061fe74f61b2dacce85bc212eb67ef47dfd1007a 100644 (file)
@@ -442,7 +442,7 @@ void generate_config(BUFFER *wb, int only_changed)
 
                pthread_rwlock_wrlock(&config_rwlock);
                for(co = config_root; co ; co = co->next) {
-                       if(strcmp(co->name, "global") == 0 || strcmp(co->name, "plugins") == 0) pri = 0;
+                       if(strcmp(co->name, "global") == 0 || strcmp(co->name, "plugins") == 0 || strcmp(co->name, "registry") == 0) pri = 0;
                        else if(strncmp(co->name, "plugin:", 7) == 0) pri = 1;
                        else pri = 2;