diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 11:31:18 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 11:31:18 +0100 |
commit | 12806334fb5123f8a2229cc28951cd51c9ba5e3c (patch) | |
tree | 02ddf78e0652dabf28fafafeaf9430290e5b082a /src/rabbit.erl | |
parent | fc87714e04dd900355cc68c72ad6d7b854838245 (diff) | |
download | rabbitmq-server-12806334fb5123f8a2229cc28951cd51c9ba5e3c.tar.gz |
{'ok' | error(...)} -> rabbit_types:ok_or_error(...)
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r-- | src/rabbit.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index df466274..ec2dba46 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -191,7 +191,7 @@ -spec(start/0 :: () -> 'ok'). -spec(stop/0 :: () -> 'ok'). -spec(stop_and_halt/0 :: () -> 'ok'). --spec(rotate_logs/1 :: (file_suffix()) -> 'ok' | rabbit_types:error(any())). +-spec(rotate_logs/1 :: (file_suffix()) -> rabbit_types:ok_or_error(any())). -spec(status/0 :: () -> [{running_applications, [{atom(), string(), string()}]} | {nodes, [{rabbit_mnesia:node_type(), [node()]}]} | |