rename isIA to configIA
Already done on s3-aws branch, so reduce divergence.
This commit is contained in:
parent
a1fb1b7ae3
commit
fa1318479e
4 changed files with 11 additions and 11 deletions
|
@ -162,7 +162,7 @@ getEnableS3R :: UUID -> Handler Html
|
|||
#ifdef WITH_S3
|
||||
getEnableS3R uuid = do
|
||||
m <- liftAnnex readRemoteLog
|
||||
if maybe False S3.isIA (M.lookup uuid m)
|
||||
if maybe False S3.confgiIA (M.lookup uuid m)
|
||||
then redirect $ EnableIAR uuid
|
||||
else postEnableS3R uuid
|
||||
#else
|
||||
|
@ -224,5 +224,5 @@ previouslyUsedAWSCreds :: Annex (Maybe CredPair)
|
|||
previouslyUsedAWSCreds = getM gettype [S3.remote, Glacier.remote]
|
||||
where
|
||||
gettype t = previouslyUsedCredPair AWS.creds t $
|
||||
not . S3.isIA . Remote.config
|
||||
not . S3.configIA . Remote.config
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue