diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-03 13:46:20 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-03 13:46:20 -0400 |
commit | 85cd2dd2a908d9cec848c9827f68f9941f3ff5b8 (patch) | |
tree | 987e62f90199de80e0e080235225e3aff74de806 /Command/TransferKeys.hs | |
parent | e38ae12506c878b98779465bef167446bff506f9 (diff) |
remove TransferObserver
unused after last commit
Diffstat (limited to 'Command/TransferKeys.hs')
-rw-r--r-- | Command/TransferKeys.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/TransferKeys.hs b/Command/TransferKeys.hs index a385e5cda..2ac784589 100644 --- a/Command/TransferKeys.hs +++ b/Command/TransferKeys.hs @@ -35,13 +35,13 @@ start = do where runner (TransferRequest direction remote key file) | direction == Upload = notifyTransfer direction file $ - upload (Remote.uuid remote) key file forwardRetry noObserver $ \p -> do + upload (Remote.uuid remote) key file forwardRetry $ \p -> do ok <- Remote.storeKey remote key file p when ok $ Remote.logStatus remote key InfoPresent return ok | otherwise = notifyTransfer direction file $ - download (Remote.uuid remote) key file forwardRetry noObserver $ \p -> + download (Remote.uuid remote) key file forwardRetry $ \p -> getViaTmp (RemoteVerify remote) key $ \t -> do r <- Remote.retrieveKeyFile remote key file t p -- Make sure we get the current |