refactor
This commit is contained in:
parent
4be94c67c7
commit
dc7dc1e179
5 changed files with 24 additions and 31 deletions
|
@ -112,9 +112,5 @@ getKey' key afile = dispatch
|
|||
download (Remote.uuid r) key afile stdRetry
|
||||
(\p -> do
|
||||
showAction $ "from " ++ Remote.name r
|
||||
tryNonAsync (Remote.retrieveKeyFile r key afile dest p) >>= \case
|
||||
Right v -> return (True, v)
|
||||
Left e -> do
|
||||
warning (show e)
|
||||
return (False, UnVerified)
|
||||
Remote.verifiedAction (Remote.retrieveKeyFile r key afile dest p)
|
||||
) witness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue