Skip to content

Commit

Permalink
out_cloudwatch_logs: fix build issue from fluent#4826
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley committed Mar 2, 2022
1 parent d36af1f commit 118163b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/out_cloudwatch_logs/cloudwatch_logs.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ static void cb_cloudwatch_flush(const void *data, size_t bytes,

ctx->buf->put_events_calls = 0;

stream = get_log_stream(ctx,
event_chunk->tag, flb_sds_len(event_chunk->tag));
stream = get_log_stream(ctx, tag, tag_len);
if (!stream) {
FLB_OUTPUT_RETURN(FLB_RETRY);
}
Expand Down

0 comments on commit 118163b

Please sign in to comment.