From 729c7410504252d7c33e8fd2f43e662725186960 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Mon, 20 Oct 2014 19:00:39 +0200 Subject: Fix bug getting storage_nodes configuration variable --- src/plop.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plop.erl') diff --git a/src/plop.erl b/src/plop.erl index 07042aa..84d0920 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -189,8 +189,7 @@ testing_get_pubkey() -> gen_server:call(?MODULE, {test, pubkey}). storage_nodes() -> - {ok, Value} = application:get_env(plop, storage_nodes, {ok, []}), - Value. + application:get_env(plop, storage_nodes, []). storage_nodes_quorum() -> {ok, Value} = application:get_env(plop, storage_nodes_quorum), -- cgit v1.1