Skip to content

Commit

Permalink
out_s3: delete s3_store_file_inactive
Browse files Browse the repository at this point in the history
Signed-off-by: Clay Cheng <[email protected]>
  • Loading branch information
Claych committed Jan 24, 2023
1 parent f0fe024 commit 96587ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions plugins/out_s3/s3_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,18 +398,6 @@ int s3_store_has_uploads(struct flb_s3 *ctx)
return FLB_FALSE;
}

int s3_store_file_inactive(struct flb_s3 *ctx, struct s3_file *s3_file)
{
int ret;
struct flb_fstore_file *fsf;

fsf = s3_file->fsf;
flb_free(s3_file);
ret = flb_fstore_file_inactive(ctx->fs, fsf);

return ret;
}

int s3_store_file_delete(struct flb_s3 *ctx, struct s3_file *s3_file)
{
struct flb_fstore_file *fsf;
Expand Down
1 change: 0 additions & 1 deletion plugins/out_s3/s3_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ int s3_store_exit(struct flb_s3 *ctx);
int s3_store_has_data(struct flb_s3 *ctx);
int s3_store_has_uploads(struct flb_s3 *ctx);

int s3_store_file_inactive(struct flb_s3 *ctx, struct s3_file *s3_file);
struct s3_file *s3_store_file_get(struct flb_s3 *ctx, const char *tag,
int tag_len);
int s3_store_file_delete(struct flb_s3 *ctx, struct s3_file *s3_file);
Expand Down

0 comments on commit 96587ee

Please sign in to comment.