diff options
author | vlad <vlad@driver.xyz> | 2017-05-23 20:18:49 -0700 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2017-05-23 20:18:49 -0700 |
commit | 22a02a05df391597ee04f2524b7d975d07e76bd8 (patch) | |
tree | 32dde84f8af656020523172ff9e2bbaa6cd0f7ef /src/main/scala/xyz/driver/core/file | |
parent | 6427b9dc1a60b670c70aca05f419e3fc3313cf6a (diff) | |
download | driver-core-22a02a05df391597ee04f2524b7d975d07e76bd8.tar.gz driver-core-22a02a05df391597ee04f2524b7d975d07e76bd8.tar.bz2 driver-core-22a02a05df391597ee04f2524b7d975d07e76bd8.zip |
Passing User-Agent in outgoing HTTP requests, Returning services' dependencies in /version
Diffstat (limited to 'src/main/scala/xyz/driver/core/file')
-rw-r--r-- | src/main/scala/xyz/driver/core/file/S3Storage.scala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/scala/xyz/driver/core/file/S3Storage.scala b/src/main/scala/xyz/driver/core/file/S3Storage.scala index 50bfe85..933b01a 100644 --- a/src/main/scala/xyz/driver/core/file/S3Storage.scala +++ b/src/main/scala/xyz/driver/core/file/S3Storage.scala @@ -53,11 +53,13 @@ class S3Storage(s3: AmazonS3, bucket: Name[Bucket], executionContext: ExecutionC result.isTruncated } flatMap { result => result.getObjectSummaries.asScala.toList.map { summary => - FileLink(Name[File](summary.getKey), - Paths.get(path.toString + "/" + summary.getKey), - Revision[File](summary.getETag), - Time(summary.getLastModified.getTime), - summary.getSize) + FileLink( + Name[File](summary.getKey), + Paths.get(path.toString + "/" + summary.getKey), + Revision[File](summary.getETag), + Time(summary.getLastModified.getTime), + summary.getSize + ) } filterNot isInSubFolder(path) } toList }) |