]> arthur.barton.de Git - netdata.git/commitdiff
fixed typo
authorCosta Tsaousis <costa@tsaousis.gr>
Wed, 11 May 2016 12:28:48 +0000 (15:28 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Wed, 11 May 2016 12:28:48 +0000 (15:28 +0300)
src/registry.c

index 24cbaf00f5d8d4fbb06b1ae35b69739b2a5b4383..7539956a5894a9b3b5ad2470dad32368217878c6 100644 (file)
@@ -1581,8 +1581,8 @@ int registry_init(void) {
        registry.registry_to_announce = config_get("registry", "registry to announce", "https://registry.netdata.online");
        registry.hostname = config_get("registry", "registry hostname", config_get("global", "hostname", hostname));
 
-       registry.max_url_length = config_get("registry", "max URL length", 1024);
-       registry.max_name_length = config_get("registry", "max URL name length", 50);
+       registry.max_url_length = config_get_number("registry", "max URL length", 1024);
+       registry.max_name_length = config_get_number("registry", "max URL name length", 50);
 
 
        // initialize entries counters