summaryrefslogtreecommitdiffstats
path: root/collectors/timex.plugin
diff options
context:
space:
mode:
authorDaniel Jagszent <daniel@jagszent.de>2022-03-01 17:17:18 +0100
committerGitHub <noreply@github.com>2022-03-01 18:17:18 +0200
commita05f9316e133eaccb1dc072d1494a41f46cbf388 (patch)
tree2bf9981594954a12efccddab57517c73433b344d /collectors/timex.plugin
parentf63fc2a5cd928048d47e5e62a0d757ab4be5f8e5 (diff)
Timex: make offset rrd independently configurable (#12281)
The offset rrd did not use the do_offset boolean but would re-use the do_sync boolean.
Diffstat (limited to 'collectors/timex.plugin')
-rw-r--r--collectors/timex.plugin/plugin_timex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/timex.plugin/plugin_timex.c b/collectors/timex.plugin/plugin_timex.c
index b69f342923..7817323d75 100644
--- a/collectors/timex.plugin/plugin_timex.c
+++ b/collectors/timex.plugin/plugin_timex.c
@@ -80,7 +80,7 @@ void *timex_main(void *ptr)
rrdset_done(st_sync_state);
}
- if (do_sync) {
+ if (do_offset) {
static RRDSET *st_offset = NULL;
static RRDDIM *rd_offset;