diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-11-26 12:20:43 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-11-26 12:20:43 +0000 |
commit | 943bff538149eb83c96ec44566958d82ee394356 (patch) | |
tree | 23135bf36d741e0ac43a0c8c82fef18f550d7274 | |
parent | 5122b4cc7a74bea9fe0a00bf4ac3c818b1f4259c (diff) | |
download | rabbitmq-server-bug26471.tar.gz |
Rename this since it's not quite just success / failure any more.bug26471
-rw-r--r-- | src/rabbit.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index ca1d5ba8..40f24efc 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -248,12 +248,12 @@ maybe_hipe_compile() -> {false, _} -> {ok, disabled} end. -warn_if_hipe_compilation_failed({ok, disabled}) -> +log_hipe_result({ok, disabled}) -> ok; -warn_if_hipe_compilation_failed({ok, Count, Duration}) -> +log_hipe_result({ok, Count, Duration}) -> rabbit_log:info( "HiPE in use: compiled ~B modules in ~Bs.~n", [Count, Duration]); -warn_if_hipe_compilation_failed(false) -> +log_hipe_result(false) -> io:format( "~nNot HiPE compiling: HiPE not found in this Erlang installation.~n"), rabbit_log:warning( @@ -312,9 +312,9 @@ start() -> boot() -> start_it(fun() -> ok = ensure_application_loaded(), - Success = maybe_hipe_compile(), + HipeResult = maybe_hipe_compile(), ok = ensure_working_log_handlers(), - warn_if_hipe_compilation_failed(Success), + log_hipe_result(HipeResult), rabbit_node_monitor:prepare_cluster_status_files(), ok = rabbit_upgrade:maybe_upgrade_mnesia(), %% It's important that the consistency check happens after |