]> arthur.barton.de Git - netdata.git/blobdiff - src/registry_machine.c
dns_query_time plugin: replace "." with "_" in dimensions
[netdata.git] / src / registry_machine.c
index 6ebe7d6f820c8f9479540c8466ba3c36e9c72629..6dc8200d39522f83c94e7d58fff2ea960b908949 100644 (file)
@@ -58,7 +58,7 @@ REGISTRY_MACHINE *registry_machine_get(const char *machine_guid, time_t when) {
     if(likely(machine_guid && *machine_guid)) {
         // validate it is a GUID
         char buf[GUID_LEN + 1];
-        if(unlikely(registry_regenerate_guid(machine_guid, buf) == -1))
+        if(unlikely(regenerate_guid(machine_guid, buf) == -1))
             info("Registry: machine guid '%s' is not a valid guid. Ignoring it.", machine_guid);
         else {
             machine_guid = buf;
@@ -93,7 +93,7 @@ REGISTRY_MACHINE_URL *registry_machine_link_to_url(REGISTRY_MACHINE *m, REGISTRY
     if(likely(m->last_t < (uint32_t)when)) m->last_t = (uint32_t)when;
 
     if(mu->flags & REGISTRY_URL_FLAGS_EXPIRED) {
-        info("registry_machine_link_to_url('%s', '%s'): accessing an expired URL.", m->guid, u->url);
+        debug(D_REGISTRY, "registry_machine_link_to_url('%s', '%s'): accessing an expired URL.", m->guid, u->url);
         mu->flags &= ~REGISTRY_URL_FLAGS_EXPIRED;
     }