summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_control_main.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index 7b09a87250..c3322d371f 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -550,13 +550,13 @@ action(help, _Node, _Args, _Opts, _Inform) ->
io:format("~s", [rabbit_ctl_usage:usage()]);
action(node_health_check, Node, _Args, _Opts, Inform) ->
- Inform("Health check of node ~p", [Node]),
+ Inform("Checking health of node ~p", [Node]),
try
rabbit_health_check:node(Node),
- io:format("Node ~p is up and running~n", [Node])
+ io:format("Health check passed~n")
catch
{node_is_ko, ErrorMsg, ErrorCode} ->
- io:format("~s~nProblems encountered in node ~p~n", [ErrorMsg, Node]),
+ io:format("Heath check failed:~n~s~n", [ErrorMsg]),
halt(ErrorCode)
end;