Skip to content

Commit

Permalink
out_s3: update file size
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper authored and Magnus Sirviö committed Oct 7, 2020
1 parent 3332dc5 commit ef47f26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/out_s3/s3_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ int s3_store_buffer_put(struct flb_s3 *ctx, struct s3_file *s3_file,
flb_plg_error(ctx->ins, "error writing data to local s3 file");
return -1;
}
s3_file->size += bytes;

return 0;
}
Expand Down

0 comments on commit ef47f26

Please sign in to comment.