summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-03-15 14:38:19 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-03-15 14:38:19 +0000
commita4956c5164e652c38a7ad1af3e89b1f7af931672 (patch)
tree7614aae5abcfcdf30e60ed8f12a294b7445e42d7
parentce6f87461544756bd8ca0f5235b7ebec7e9422a8 (diff)
downloadrabbitmq-server-a4956c5164e652c38a7ad1af3e89b1f7af931672.tar.gz
correct a spec error discovered by R16B dialyzer
-rw-r--r--src/rabbit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index f3ba022a..3cfa21ba 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -236,7 +236,7 @@
{memory, any()}]).
-spec(is_running/0 :: () -> boolean()).
-spec(is_running/1 :: (node()) -> boolean()).
--spec(environment/0 :: () -> [{param() | term()}]).
+-spec(environment/0 :: () -> [{param(), term()}]).
-spec(rotate_logs/1 :: (file_suffix()) -> rabbit_types:ok_or_error(any())).
-spec(force_event_refresh/0 :: () -> 'ok').