Skip to content

Commit

Permalink
Better error tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
macintux committed Aug 11, 2015
1 parent e1cbbb9 commit c2b231a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_core.erl
Expand Up @@ -138,7 +138,7 @@ standard_join(Node, Ring, Rejoin, Auto) ->
Singleton = ([node()] =:= riak_core_ring:all_members(MyRing)),
case {InitComplete, Rejoin or Singleton, SameSize} of
{false, _, _} ->
{error, retry_later};
{error, node_still_starting};
{_, false, _} ->
{error, not_single_node};
{_, _, false} ->
Expand Down

0 comments on commit c2b231a

Please sign in to comment.