avoid shadowing warning
This commit is contained in:
parent
b158e067c0
commit
e37bf6351f
1 changed files with 3 additions and 3 deletions
|
@ -814,11 +814,11 @@ checkKey rs k = do
|
||||||
-- Usually this will already be populated with all remotes,
|
-- Usually this will already be populated with all remotes,
|
||||||
-- otherwise this compute remote would not be used. Check
|
-- otherwise this compute remote would not be used. Check
|
||||||
-- just in case, to avoid trustMap' caching bad inputs.
|
-- just in case, to avoid trustMap' caching bad inputs.
|
||||||
rs <- Annex.getState Annex.remotes
|
remotelist <- Annex.getState Annex.remotes
|
||||||
if null rs
|
if null remotelist
|
||||||
then error "internal"
|
then error "internal"
|
||||||
else S.fromList . M.keys . M.filter (== DeadTrusted)
|
else S.fromList . M.keys . M.filter (== DeadTrusted)
|
||||||
<$> trustMap' rs
|
<$> trustMap' remotelist
|
||||||
|
|
||||||
getcomputeset = S.fromList . M.keys . M.filter isComputeRemote'
|
getcomputeset = S.fromList . M.keys . M.filter isComputeRemote'
|
||||||
<$> remoteConfigMap
|
<$> remoteConfigMap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue