From d079b656b4719739b2247dcd9d46e9bec793095a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:11:34 +0100 Subject: Merging upstream version 1.38.0. Signed-off-by: Daniel Baumann --- exporting/pubsub/pubsub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exporting/pubsub/pubsub.c') diff --git a/exporting/pubsub/pubsub.c b/exporting/pubsub/pubsub.c index b218338f1..d65fc2c40 100644 --- a/exporting/pubsub/pubsub.c +++ b/exporting/pubsub/pubsub.c @@ -30,7 +30,7 @@ int init_pubsub_instance(struct instance *instance) instance->prepare_header = NULL; instance->check_response = NULL; - instance->buffer = (void *)buffer_create(0); + instance->buffer = (void *)buffer_create(0, &netdata_buffers_statistics.buffers_exporters); if (!instance->buffer) { error("EXPORTING: cannot create buffer for Pub/Sub exporting connector instance %s", instance->config.name); return 1; -- cgit v1.2.3