mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
Only jmx+repl means old EE
With riak-2.2.5 and onwards repl is open source, meaning a more complex decision for rt:product
This commit is contained in:
parent
cff2106544
commit
19e57dcfe8
@ -1207,9 +1207,10 @@ product(Node) ->
|
||||
|
||||
HasRiakCS = proplists:is_defined(riak_cs, Applications),
|
||||
HasRiakEE = proplists:is_defined(riak_repl, Applications),
|
||||
HasRiakJMX = proplists:is_defined(riak_jmx, Applications),
|
||||
HasRiak = proplists:is_defined(riak_kv, Applications),
|
||||
if HasRiakCS -> riak_cs;
|
||||
HasRiakEE -> riak_ee;
|
||||
HasRiakEE andalso HasRiakJMX -> riak_ee;
|
||||
HasRiak -> riak;
|
||||
true -> unknown
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user