src/main/scala/s3/website/S3.scala in s3_website-2.5.0 vs src/main/scala/s3/website/S3.scala in s3_website-2.5.1
- old
+ new
@@ -153,11 +153,11 @@
details: Either[SuccessfulNewOrCreatedDetails, SuccessfulRedirectDetails],
putObjectRequest: PutObjectRequest)
(implicit pushOptions: PushOptions, logger: Logger) extends PushSuccessReport {
def reportMessage =
details.fold(
- newOrCreatedDetails => s"${newOrCreatedDetails.uploadType.pushAction} $s3Key ($reportDetails)",
- redirectDetails => s"${redirectDetails.uploadType.pushAction} $s3Key to ${redirectDetails.redirectTarget}"
+ newOrCreatedDetails => s"${newOrCreatedDetails.uploadType.pushAction.renderVerb} $s3Key ($reportDetails)",
+ redirectDetails => s"${redirectDetails.uploadType.pushAction.renderVerb} $s3Key to ${redirectDetails.redirectTarget}"
)
def reportDetails = {
val md = putObjectRequest.getMetadata
val detailFragments: Seq[Option[String]] =