diff --git a/plugins/out_s3/s3.c b/plugins/out_s3/s3.c index d10cec19e1a..2f67f9c0d0d 100644 --- a/plugins/out_s3/s3.c +++ b/plugins/out_s3/s3.c @@ -2237,7 +2237,6 @@ static void cb_s3_flush(struct flb_event_chunk *event_chunk, /* File is ready for upload, upload_file != NULL prevents from segfaulting. */ if ((upload_file != NULL) && (upload_timeout_check == FLB_TRUE || total_file_size_check == FLB_TRUE)) { - upload_file->input_name = out_flush->task->i_ins->name; if (ctx->preserve_data_ordering == FLB_TRUE) { /* Buffer last chunk in file and lock file to prevent further changes */ ret = buffer_chunk(ctx, upload_file, chunk, chunk_size,