From 3995b3448ad06954f119851734de6de750977268 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') diff --git a/src/plop.erl b/src/plop.erl index 415992b..e19603f 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