Skip to content

Commit

Permalink
out_s3: added extra argument to flb_sched_timer_cb_create call
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Jul 21, 2021
1 parent b5d60b4 commit b54285f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_s3/s3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ static void cb_s3_flush(const void *data, size_t bytes,
ret = flb_sched_timer_cb_create(sched, FLB_SCHED_TIMER_CB_PERM,
ctx->timer_ms,
cb_s3_upload,
ctx);
ctx, NULL);
if (ret == -1) {
flb_plg_error(ctx->ins, "Failed to create upload timer");
FLB_OUTPUT_RETURN(FLB_RETRY);
Expand Down

0 comments on commit b54285f

Please sign in to comment.