Skip to content

Commit

Permalink
Return 'ok' from riak_cs_console:status/1 since nodetool expects it a…
Browse files Browse the repository at this point in the history
…s success of rpc
  • Loading branch information
ksauzz committed Sep 4, 2015
1 parent ef3ca6c commit 37eb61a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/riak_cs_console.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@

status([]) ->
Stats = riak_cs_stats:get_stats(),
[io:format("~p : ~p~n", [Name, Value])
|| {Name, Value} <- Stats].
_ = [io:format("~p : ~p~n", [Name, Value])
|| {Name, Value} <- Stats],
ok.

%% in progress.
cluster_info([OutFile]) ->
Expand Down

0 comments on commit 37eb61a

Please sign in to comment.