From 26238a3bb323e8e2cc492f6ed39557f2fffa7c75 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 22 Oct 2014 13:56:14 -0400 Subject: include creds info for glacier and webdav That and S3 are all that uses creds currently, except that external remotes can use creds. I have not handled showing info about external remote creds because they can have 0, 1, or more separate cred pairs, and there's no way for info to enumerate them or know how they're used. So it seems ok to leave out creds info for external remotes. --- Remote/Glacier.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Remote/Glacier.hs') diff --git a/Remote/Glacier.hs b/Remote/Glacier.hs index 0e2796da2..99003f29a 100644 --- a/Remote/Glacier.hs +++ b/Remote/Glacier.hs @@ -67,7 +67,8 @@ gen r u c gc = new <$> remoteCost gc veryExpensiveRemoteCost availability = GloballyAvailable, remotetype = remote, mkUnavailable = return Nothing, - getInfo = return [("glacier vault", getVault c)] + getInfo = includeCredsInfo c (AWS.creds u) $ + [ ("glacier vault", getVault c) ] } specialcfg = (specialRemoteCfg c) -- Disabled until jobList gets support for chunks. -- cgit v1.2.3