Permalink
Browse files

Update the `pb` config check inline with latest riak_api code

  • Loading branch information...
1 parent 5ba5a22 commit 23b4a87335c45c24fe12cd9b771bc97a3d91b1e2 @russelldb russelldb committed Mar 15, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 rel/files/nodetool
View
@@ -228,9 +228,9 @@ handoffport_exists(Terms) ->
pbc_port_exists(Terms) ->
- case get_env(Terms, riak_api, pb_port) of
- undefined ->
- {warning, "pb_port undefined, protobuffs interface not enabled"};
+ case {get_env(Terms, riak_api, pb_port), get_env(Terms, riak_api, pb)} of
+ {undefined, undefined} ->
+ {warning, "pb settings undefined, protobuffs interface not enabled"};
_ ->
true
end.

0 comments on commit 23b4a87

Please sign in to comment.