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.
Daniel Jagszent committed
Mar 1, 2022 at 17:17 UTC
a05f9316e133eaccb1dc072d1494a41f46cbf388
1 file changed
+1
-1
collectors/timex.plugin/plugin_timex.c
+1
-1
@@ -80,7 +80,7 @@ void *timex_main(void *ptr)
80
rrdset_done(st_sync_state);
81
}
82
83
- if (do_sync) {
83
+ if (do_offset) {
84
static RRDSET *st_offset = NULL;
85
static RRDDIM *rd_offset;
86