use trustExclude
This commit is contained in:
parent
ec337baaee
commit
6a0756d2fb
4 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ calcSyncRemotes :: Annex [Remote]
|
|||
calcSyncRemotes = do
|
||||
rs <- filterM (repoSyncable . Remote.repo) =<<
|
||||
concat . Remote.byCost <$> Remote.enabledRemoteList
|
||||
alive <- snd <$> trustPartition DeadTrusted (map Remote.uuid rs)
|
||||
alive <- trustExclude DeadTrusted (map Remote.uuid rs)
|
||||
let good r = Remote.uuid r `elem` alive
|
||||
return $ filter good rs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue