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 | 0d41945082d2c6a192007f7b8cef39d196e5680c (patch) | |
| tree | f108dc593c77cb1b297aba1ad3a655d990cf79c1 | |
| parent | edf283be19ab124065d1f4f10519985d0c82dd0b (diff) | |
| download | rabbitmq-server-git-0d41945082d2c6a192007f7b8cef39d196e5680c.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 725e0c1842..baebc52b27 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())). |
