diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2016-02-29 02:04:05 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2016-02-29 02:04:05 +0300 |
| commit | 11a09bd729af49e843ddefec8d82425111f7a972 (patch) | |
| tree | ea4a40e1c8b97b24839a7649dc4f21e28e34508b /src | |
| parent | 2492383e66974934060b304e1adf147964527a6f (diff) | |
| download | rabbitmq-server-git-11a09bd729af49e843ddefec8d82425111f7a972.tar.gz | |
Wording
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_control_main.erl | 6 |
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; |
