summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-20 19:00:39 +0200
committerMagnus Ahltorp <map@kth.se>2014-10-24 15:36:36 +0200
commit729c7410504252d7c33e8fd2f43e662725186960 (patch)
tree3370b303f0ff4bfd2bb3de8b2fcdf810fd038225 /src
parent653d3a1b047241ffda69cfc8601390591d63d295 (diff)
Fix bug getting storage_nodes configuration variable
Diffstat (limited to 'src')
-rw-r--r--src/plop.erl3
1 files changed, 1 insertions, 2 deletions
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),