glacier: Pass --region to glacier checkpresent.

I suppose this is not necessary when it has a local cache, so I didn't
notice it was missing.
This commit is contained in:
Joey Hess 2014-03-04 23:22:24 -04:00
parent cbf0c972c4
commit 1f98d6fb00
3 changed files with 5 additions and 1 deletions

View file

@ -196,7 +196,7 @@ checkPresent r k = do
else return $ Right False
Left err -> return $ Left err
params =
params = glacierParams (config r)
[ Param "archive"
, Param "checkpresent"
, Param $ getVault $ config r

1
debian/changelog vendored
View file

@ -24,6 +24,7 @@ git-annex (5.20140228) UNRELEASED; urgency=medium
* Run .git/hooks/pre-commit-annex whenever a commit is made.
* sync: Automatically resolve merge conflict between and annexed file
and a regular git file.
* glacier: Pass --region to glacier checkpresent.
-- Joey Hess <joeyh@debian.org> Fri, 28 Feb 2014 14:52:15 -0400

View file

@ -33,3 +33,6 @@ boto.glacier.exceptions.UnexpectedHTTPResponseError: Expected 200, got (404, cod
(user error (glacier ["archive","checkpresent","myvault","--quiet","SHA256E-s1111111--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.JPG"] exited 1)) failed
git-annex: copy: 1 failed
"""]]
> [[fixed|done]]; made it use the same glacierParams as everything else.
> --[[Joey]]