diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-02-07 13:01:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-02-07 13:01:57 -0400 |
commit | 1970a79492e47556d7ca7fbac35ab1a8bf86d9af (patch) | |
tree | 9cc5c7b6720487468dd4525c8f5ef327cf0fe15c /Remote | |
parent | 6771d73d9df3b610d723c8e7ed197a8995bf41d4 (diff) |
Fix build with aws 0.16. Thanks, aristidb.
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/S3.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs index 2b7c58e6f..43d07230e 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -221,7 +221,7 @@ store _r info h = fileStorer $ \k f p -> do let popper = handlePopper numchunks defaultChunkSize p' fh let req = S3.uploadPart (bucket info) object partnum uploadid $ RequestBodyStream (fromIntegral sz) popper - S3.UploadPartResponse _ etag <- sendS3Handle h req + S3.UploadPartResponse { S3.uprETag = etag } <- sendS3Handle h req sendparts (offsetMeterUpdate meter (toBytesProcessed sz)) (etag:etags) (partnum + 1) sendparts p [] 1 |