refactor
This commit is contained in:
parent
4be94c67c7
commit
dc7dc1e179
5 changed files with 24 additions and 31 deletions
|
@ -131,11 +131,7 @@ performRemote key afile numcopies remote = do
|
|||
, "proof:"
|
||||
, show proof
|
||||
]
|
||||
ok <- tryNonAsync (Remote.removeKey remote key) >>= \case
|
||||
Right () -> return True
|
||||
Left e -> do
|
||||
warning (show e)
|
||||
return False
|
||||
ok <- Remote.action (Remote.removeKey remote key)
|
||||
next $ cleanupRemote key remote ok
|
||||
, stop
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue