aboutsummaryrefslogtreecommitdiff
path: root/Remote/S3.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-28 13:31:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-28 13:31:49 -0400
commit1f8b494ed848db69dfdb2de528d1f9290131140b (patch)
tree9920ba3f17a740eb367b34548a38471994b728d0 /Remote/S3.hs
parent04f27132314744ad743cda697761b510b1cb17e8 (diff)
webapp: Defaults to sharing box.com account info with friends, allowing one-click enabling of the repository.
Diffstat (limited to 'Remote/S3.hs')
-rw-r--r--Remote/S3.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs
index 400f3e027..ba5fb949b 100644
--- a/Remote/S3.hs
+++ b/Remote/S3.hs
@@ -262,7 +262,7 @@ s3ConnectionRequired c u =
maybe (error "Cannot connect to S3") return =<< s3Connection c u
s3Connection :: RemoteConfig -> UUID -> Annex (Maybe AWSConnection)
-s3Connection c u = go =<< getRemoteCredPair "S3" c (AWS.creds u)
+s3Connection c u = go =<< getRemoteCredPairFor "S3" c (AWS.creds u)
where
go Nothing = return Nothing
go (Just (ak, sk)) = return $ Just $ AWSConnection host port ak sk