diff options
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/S3.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs index fe407f204..5c5a43661 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -499,8 +499,8 @@ getBucketName = map toLower <$$> M.lookup "bucket" getStorageClass :: RemoteConfig -> S3.StorageClass getStorageClass c = case M.lookup "storageclass" c of - Just "REDUCED_REDUNDANCY" -> S3.ReducedRedundancy - _ -> S3.Standard + Just s -> S3.OtherStorageClass (T.pack s) + Nothing -> S3.Standard getPartSize :: RemoteConfig -> Maybe Integer getPartSize c = readSize dataUnits =<< M.lookup "partsize" c |