Skip to content

Commit 59296f0

Browse files
committed
Use passed-in length to save file to S3
1 parent 1429a44 commit 59296f0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.8.2 - 2020-02-19
8+
9+
### Fixed
10+
- Use the passed-in length within S3ByteStorageService.save.
11+
712
## 1.8.1 - 2020-02-05
813

914
### Removed

app/services/s3/S3ByteStorageService.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ class S3ByteStorageService @Inject()() extends ByteStorageService {
100100
Logger.debug("Saving file to: /" + bucketName + "/" + prefix)
101101

102102
val id = UUID.generate.stringify
103-
val length = inputStream.available
104103
val separator = java.io.File.separatorChar
105104

106105
var targetPath = prefix

0 commit comments

Comments
 (0)