Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions plugins/in_tail/tail.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,8 @@ static int in_tail_watcher_callback(struct flb_input_instance *ins,
int in_tail_collect_event(void *file, struct flb_config *config)
{
int ret;
struct stat st;
struct flb_tail_file *f = file;

ret = fstat(f->fd, &st);
if (ret == -1) {
flb_tail_file_remove(f);
return 0;
}

ret = flb_tail_file_chunk(f);
switch (ret) {
case FLB_TAIL_ERROR:
Expand Down
Loading