fixed typo
Costa Tsaousis committed
May 11, 2016 at 15:28 UTC
75f665f572f782ae20613bbb5a52cd27b143b705
1 file changed
+2
-2
src/registry.c
+2
-2
@@ -1581,8 +1581,8 @@ int registry_init(void) {
1581
registry.registry_to_announce = config_get("registry", "registry to announce", "https://registry.netdata.online");
1582
registry.hostname = config_get("registry", "registry hostname", config_get("global", "hostname", hostname));
1583
1584
- registry.max_url_length = config_get("registry", "max URL length", 1024);
1585
- registry.max_name_length = config_get("registry", "max URL name length", 50);
1584
+ registry.max_url_length = config_get_number("registry", "max URL length", 1024);
1585
+ registry.max_name_length = config_get_number("registry", "max URL name length", 50);
1586
1587
1588
// initialize entries counters