Skip to content

Commit

Permalink
Merge pull request #506 from basho/bugfix/dp/repl_console_fixes
Browse files Browse the repository at this point in the history
fixes for riak_ee #159
  • Loading branch information
Dave Parfitt committed Jan 15, 2014
2 parents b489f28 + 5d47b91 commit 0293898
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/riak_repl_console.erl
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,7 @@ realtime([Cmd, Remote]) ->
riak_repl2_rt:start(Remote);
"stop" ->
?LOG_USER_CMD("Stop Realtime Replication to cluster ~p", [Remote]),
riak_repl2_rt:stop(Remote);
% easier to put this clause here and update 1 file
% than update riak_core's riak-repl bin script and make yet anothor
% place to change/potentially break stuff.
"cascades" ->
riak_repl_console:realtime_cascades(Remote)
riak_repl2_rt:stop(Remote)
end,
ok;
realtime([Cmd]) ->
Expand Down Expand Up @@ -519,7 +514,7 @@ realtime_cascades(["never"]) ->
riak_repl_ring:rt_cascades_trans/2, never);
realtime_cascades([]) ->
Cascades = app_helper:get_env(riak_repl, realtime_cascades, always),
io:format("reatime_cascades: ~p~n", [Cascades]);
io:format("realtime_cascades: ~p~n", [Cascades]);
realtime_cascades(_Wut) ->
io:format("realtime_cascades either \"always\" or \"never\"~n").

Expand Down

0 comments on commit 0293898

Please sign in to comment.