Skip to content

Commit

Permalink
Merge pull request #87 from mk1s/jmw-issue-86
Browse files Browse the repository at this point in the history
Added pattern match to handle timeouts for github Issue 86
  • Loading branch information
bsparrow435 authored Oct 4, 2016
2 parents 2081392 + da2f084 commit af9edc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/riaknostic_node.erl
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ append_node_suffix(Name, Suffix) ->

has_stats() ->
case application:get_env(riaknostic, local_stats) of
{ok, {badrpc, _Reason}} ->
false;
{ok, Stats} ->
{ok, Stats};
undefined ->
Expand Down

0 comments on commit af9edc5

Please sign in to comment.