in_systemd: use new input chunk registration calls
@@ -156,7 +156,7 @@ static int in_systemd_collect(struct flb_input_instance *i_ins,
*/
if (mp_sbuf.size > 0 &&
((last_tag_len != tag_len) || (strncmp(last_tag, tag, tag_len) != 0))) {
- flb_input_dyntag_append_raw(ctx->i_ins,
+ flb_input_chunk_append_raw(ctx->i_ins,
tag, tag_len,
mp_sbuf.data,
mp_sbuf.size);
@@ -194,7 +194,7 @@ static int in_systemd_collect(struct flb_input_instance *i_ins,
* more than 1MB. Journal will resume later.
*/
if (mp_sbuf.size > 1024000) {
- flb_input_dyntag_append_raw(ctx->i_ins,
+ flb_input_chunk_append_raw(ctx->i_ins,
tag, tag_len,
mp_sbuf.data,
mp_sbuf.size);
@@ -223,7 +223,7 @@ static int in_systemd_collect(struct flb_input_instance *i_ins,
/* Write any pending data into the buffer */
if (mp_sbuf.size > 0) {
- flb_input_dyntag_append_raw(ctx->i_ins,
+ flb_input_chunk_append_raw(ctx->i_ins,
tag, tag_len,
mp_sbuf.data,
mp_sbuf.size);
