deal with NoUUID in checkCanProxy
updatecluster, updateproxy: When a remote that has no annex-uuid is configured as annex-cluster-node, warn and avoid writing bad data to the git-annex branch. The proxy.log and cluster.log end up unparseable when a NoUUID gets written to them.
This commit is contained in:
parent
ec43b25fb7
commit
d0b5a09b0e
3 changed files with 29 additions and 13 deletions
|
@ -38,7 +38,7 @@ start = startingCustomOutput (ActionItemOther Nothing) $ do
|
|||
Nothing -> return Nothing
|
||||
Just [] -> return Nothing
|
||||
Just clusternames ->
|
||||
ifM (Command.UpdateProxy.checkCanProxy r "Cannot use this special remote as a cluster node.")
|
||||
ifM (Command.UpdateProxy.checkCanProxy r "Cannot use this remote as a cluster node.")
|
||||
( return $ Just $ M.fromList $
|
||||
zip clusternames (repeat (S.singleton r))
|
||||
, return Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue