Skip to content

Commit

Permalink
get_env returns {ok, Term}, not Term
Browse files Browse the repository at this point in the history
  • Loading branch information
seancribbs committed Mar 15, 2013
1 parent 4849d41 commit e6a4a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rel/files/nodetool
Expand Up @@ -229,7 +229,7 @@ handoffport_exists(Terms) ->

pbc_port_exists(Terms) ->
case {get_env(Terms, riak_api, pb_port), get_env(Terms, riak_api, pb)} of
{undefined, PB} when PB == undefined orelse PB == [] ->
{undefined, PB} when PB == undefined orelse PB == {ok, []} ->
{warning, "pb settings undefined, protobuffs interface not enabled"};
_ ->
true
Expand Down

0 comments on commit e6a4a2c

Please sign in to comment.