We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3136995 commit 3916802Copy full SHA for 3916802
src/flb_output.c
@@ -632,6 +632,7 @@ int flb_output_init_all(struct flb_config *config)
632
ins->log_level = config->log->level;
633
}
634
p = ins->p;
635
+ mk_list_init(&ins->th_queue);
636
637
/* Metrics */
638
#ifdef FLB_HAVE_METRICS
@@ -739,7 +740,6 @@ int flb_output_init_all(struct flb_config *config)
739
740
741
/* Initialize plugin through it 'init callback' */
742
ret = p->cb_init(ins, config, ins->data);
- mk_list_init(&ins->th_queue);
743
if (ret == -1) {
744
flb_error("[output] Failed to initialize '%s' plugin",
745
p->name);
0 commit comments