Skip to content

Commit

Permalink
out_stackdriver: test format newline
Browse files Browse the repository at this point in the history
When testing the log entry format, we need to be printing a newline.

Signed-off-by: braydonk <[email protected]>
  • Loading branch information
braydonk committed Nov 28, 2023
1 parent 8733b25 commit 86debf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_stackdriver/stackdriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk,
}

if (ctx->test_log_entry_format) {
printf("%s", payload_buf);
printf("%s\n", payload_buf);
flb_sds_destroy(payload_buf);
FLB_OUTPUT_RETURN(FLB_OK);
}
Expand Down

0 comments on commit 86debf1

Please sign in to comment.