mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
update sort call, due to rename
This commit is contained in:
parent
9b4233e079
commit
75a24f5a7c
@ -17,7 +17,7 @@ DIndex.nodesForKey k ind = do Remote
|
||||
nodes := Index.keys ind;
|
||||
hashes := Remote.traverse (node -> hash! (node, k)) nodes;
|
||||
(nodes `Vector.zip` hashes)
|
||||
|> Vector.sort Hash.Order 2nd
|
||||
|> Vector.sort-by Hash.Order 2nd
|
||||
|> Vector.take DIndex.Replication-Factor
|
||||
|> Vector.map 1st
|
||||
|> pure;;
|
||||
|
Loading…
Reference in New Issue
Block a user