Skip to content

Commit

Permalink
Fix log when updating content type in S3 in ship (#5104)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Dumas <[email protected]>
  • Loading branch information
imsdu and Simon Dumas authored Aug 15, 2024
1 parent d100e88 commit 237e396
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ object FileCopier {
case CopyResult.AlreadyExists =>
IO.whenA(forceContentType) {
attributes.mediaType.traverse { mediaType =>
logger.info(s"Patching to content type $mediaType for file $patchedFileName")
s3StorageClient.updateContentType(targetBucket, targetKey, mediaType)
logger.info(s"Patching to content type $mediaType for file $patchedFileName") >>
s3StorageClient.updateContentType(targetBucket, targetKey, mediaType)
}.void
}
}.timed
Expand Down

0 comments on commit 237e396

Please sign in to comment.