summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-10-10 15:51:43 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-10-10 15:51:43 +0100
commit1d50ebd511df4319a6bd7ed81656c5f6f5c610cc (patch)
tree3710c5dd6cc1db626f760489dcbcf20f1e93de48 /src
parent59d940728559019b0439fd6109599fdfd4c8400a (diff)
parent9bafe13b2749fef1cab4ca965ef59ae1477fb073 (diff)
downloadrabbitmq-server-git-1d50ebd511df4319a6bd7ed81656c5f6f5c610cc.tar.gz
Merge bug25216
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_misc.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index 75d84ffc4f..6a97cd0d89 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -35,7 +35,8 @@
-spec(on_node_up/0 :: () -> 'ok').
-spec(add_mirrors/2 :: (rabbit_amqqueue:name(), [node()]) -> 'ok').
-spec(add_mirror/2 ::
- (rabbit_amqqueue:name(), node()) -> rabbit_types:ok_or_error(any())).
+ (rabbit_amqqueue:name(), node()) ->
+ {'ok', atom()} | rabbit_types:error(any())).
-spec(store_updated_slaves/1 :: (rabbit_types:amqqueue()) ->
rabbit_types:amqqueue()).
-spec(suggested_queue_nodes/1 :: (rabbit_types:amqqueue()) ->