From: Michael Tremer Date: Mon, 6 Oct 2025 11:21:13 +0000 (+0000) Subject: queue: Actually store the object in the queue X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83c500819de8d5dcb2f32c72cb09fc165b8929ef;p=telemetry.git queue: Actually store the object in the queue This used to never happen which is why sources with multiple objects had their data written into the main RRD file. Signed-off-by: Michael Tremer --- diff --git a/src/daemon/queue.c b/src/daemon/queue.c index ca8ebda..8d91e8d 100644 --- a/src/daemon/queue.c +++ b/src/daemon/queue.c @@ -312,7 +312,7 @@ int collecty_queue_submit(collecty_queue* self, o->source = collecty_source_ref(source); // Store the object - if (o->object) { + if (object) { o->object = strdup(object); if (!o->object) { r = -errno;