Skip to content

Commit

Permalink
call flush method
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Apr 13, 2024
1 parent 8bf427d commit c9630c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/wrapper/s3_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ func (s *S3Wrapper) ClearS3Objects(
return err
}

writer.Flush()

if errorStr != "" {
return fmt.Errorf("DeleteObjectsError: followings %v", errorStr)
}
Expand Down

0 comments on commit c9630c8

Please sign in to comment.