diff options
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 7b507ff18e..c239262d7c 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -178,7 +178,8 @@ -spec(stop_and_halt/0 :: () -> 'ok'). -spec(rotate_logs/1 :: (file_suffix()) -> rabbit_types:ok_or_error(any())). -spec(status/0 :: - () -> [{running_applications, [{atom(), string(), string()}]} | + () -> [{pid, integer()} | + {running_applications, [{atom(), string(), string()}]} | {nodes, [{rabbit_mnesia:node_type(), [node()]}]} | {running_nodes, [node()]}]). -spec(log_location/1 :: ('sasl' | 'kernel') -> log_location()). @@ -217,8 +218,6 @@ stop_and_halt() -> status() -> [{pid, list_to_integer(os:getpid())}, - {os, os:type()}, - {erlang_version, erlang:system_info(system_version)}, {running_applications, application:which_applications()}] ++ rabbit_mnesia:status(). |
