diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-14 19:36:11 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-14 19:36:11 +0100 |
commit | bb416385996c9cfcb5bd7c7c017c13d366703e5a (patch) | |
tree | f108dc593c77cb1b297aba1ad3a655d990cf79c1 | |
parent | bb2b2a7761d3fbba718f4be9637bc52d6a5c3e56 (diff) | |
download | rabbitmq-server-bb416385996c9cfcb5bd7c7c017c13d366703e5a.tar.gz |
fix a spec
that was causing dialyzer to complain, rightly.
-rw-r--r-- | src/rabbit_mirror_queue_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl index 725e0c18..baebc52b 100644 --- a/src/rabbit_mirror_queue_misc.erl +++ b/src/rabbit_mirror_queue_misc.erl @@ -28,7 +28,7 @@ -spec(remove_from_queue/2 :: (rabbit_amqqueue:name(), [pid()]) - -> rabbit_types:ok_or_error2(pid(), not_found)). + -> {'ok', pid(), [pid()]} | {'error', 'not_found'}). -spec(on_node_up/0 :: () -> 'ok'). -spec(drop_mirror/2 :: (rabbit_amqqueue:name(), node()) -> rabbit_types:ok_or_error(any())). |