From ad688349f61fded7e83163d7e275dc39da931857 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 2 Oct 2025 10:51:06 +0000 Subject: [PATCH] graph: Write the graph to the output stream Signed-off-by: Michael Tremer --- src/daemon/graph.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/daemon/graph.c b/src/daemon/graph.c index e7b494d..698a0b1 100644 --- a/src/daemon/graph.c +++ b/src/daemon/graph.c @@ -203,6 +203,11 @@ int collecty_graph_render(collecty_graph* self, if (r < 0) goto ERROR; + // Write the graph to the output stream + r = collecty_args_push(args, "-"); + if (r < 0) + goto ERROR; + // Call the implementation to add some arguments r = self->impl->render(self->ctx, self, args, object); if (r < 0) -- 2.47.3