use trustExclude
This commit is contained in:
parent
ec337baaee
commit
6a0756d2fb
4 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ handleDrops' locs rs fromhere key (Just f)
|
|||
| otherwise = go rs =<< getcopies
|
||||
where
|
||||
getcopies = do
|
||||
have <- length . snd <$> trustPartition UnTrusted locs
|
||||
have <- length <$> trustExclude UnTrusted locs
|
||||
numcopies <- getNumCopies =<< numCopies f
|
||||
return (have, numcopies)
|
||||
checkcopies (have, numcopies) = have > numcopies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue