projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_tsdb plugin: Rename options to "Resolve{Interval,Jitter}".
[collectd.git]
/
src
/
write_tsdb.c
diff --git
a/src/write_tsdb.c
b/src/write_tsdb.c
index
49a3b41
..
6d8fe60
100644
(file)
--- a/
src/write_tsdb.c
+++ b/
src/write_tsdb.c
@@
-645,9
+645,9
@@
static int wt_config(oconfig_item_t *ci) {
if (strcasecmp("Node", child->key) == 0)
wt_config_tsd(child);
if (strcasecmp("Node", child->key) == 0)
wt_config_tsd(child);
- else if (strcasecmp("
DNS_Cache_TTL
", child->key) == 0)
+ else if (strcasecmp("
ResolveInterval
", child->key) == 0)
cf_util_get_cdtime(child, &dnsttl);
cf_util_get_cdtime(child, &dnsttl);
- else if (strcasecmp("
DNS_Random_Cache_TTL
", child->key) == 0) {
+ else if (strcasecmp("
ResolveJitter
", child->key) == 0) {
config_random_ttl = 1;
cf_util_get_cdtime(child, &dnsrandomttl);
} else {
config_random_ttl = 1;
cf_util_get_cdtime(child, &dnsrandomttl);
} else {