summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem3_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem3_httpd.erl b/src/mem3_httpd.erl
index 4b4f8496..3609de24 100644
--- a/src/mem3_httpd.erl
+++ b/src/mem3_httpd.erl
@@ -9,7 +9,7 @@
handle_membership_req(#httpd{method='GET',
path_parts=[<<"_membership">>]} = Req) ->
- {ok,ClusterNodes} = try mem3:nodes()
+ ClusterNodes = try mem3:nodes()
catch _:_ -> {ok,[]} end,
couch_httpd:send_json(Req, {[
{all_nodes, lists:sort([node()|nodes()])},