Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

get_env returns {ok, Term}, not Term

  • Loading branch information...
commit e6a4a2c883f580b66a7c4b8b93dcd64f9bfd099e 1 parent 4849d41
@seancribbs seancribbs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rel/files/nodetool
View
2  rel/files/nodetool
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.