Skip to content

Commit

Permalink
fix up the console
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff Moon committed Apr 27, 2009
1 parent b07c67c commit 9496834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elibs/web_rpc.erl
Expand Up @@ -63,12 +63,12 @@ rates(Node) ->
syncs_running(cluster) ->
{Good,_} = rpc:multicall(sync_manager, running, []),
{array, lists:map(fun({Part, NodeA, NodeB}) ->
{struct, [{partition, Part}, {nodes, [NodeA, NodeB]}]}
{struct, [{partition, Part}, {nodes, {array, [NodeA, NodeB]}}]}
end, lists:flatten(Good))};

syncs_running(Node) ->
{array, lists:map(fun({Part, NodeA, NodeB}) ->
{struct, [{partition, Part}, {nodes, [NodeA, NodeB]}]}
{struct, [{partition, Part}, {nodes, {array, [NodeA, NodeB]}}]}
end, sync_manager:running(Node))}.

diff_size(cluster) ->
Expand Down

0 comments on commit 9496834

Please sign in to comment.