engine: dispatch: use proper flb_task_create() interface
@@ -155,7 +155,7 @@ int flb_engine_dispatch(uint64_t id, struct flb_input_instance *in,
}
/* Create a task */
- task = flb_task_chunk_create(id, buf_data, buf_size,
+ task = flb_task_create(id, buf_data, buf_size,
ic->in, ic,
tag_buf, tag_len,
config);
