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 01a2cd7 commit c654f08Copy full SHA for c654f08
plugins/out_exit/exit.c
@@ -67,9 +67,8 @@ static int cb_exit_init(struct flb_output_instance *ins, struct flb_config *conf
67
if (ctx->flush_count == -1 &&
68
ctx->record_count == -1 &&
69
ctx->time_count == -1) {
70
- flb_plg_error(ctx->ins, "no count set for flush, record or time, set at least one");
71
- flb_free(ctx);
72
- return -1;
+ // emulate legacy behaviour by setting to a single flush.
+ ctx->flush_count = 1;
73
}
74
75
flb_output_set_context(ins, ctx);
0 commit comments