summaryrefslogtreecommitdiff
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
commit69fbf0870095062d8af6e883db89fc6c841f1ba2 (patch)
tree3710c5dd6cc1db626f760489dcbcf20f1e93de48
parentbc1cf285f1522d3872115a7382901b87b1002f33 (diff)
parent3f13a798ee99f7cebcbb14c5e45e48e2a0bfe81d (diff)
downloadrabbitmq-server-69fbf0870095062d8af6e883db89fc6c841f1ba2.tar.gz
Merge bug25216
-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 75d84ffc..6a97cd0d 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()) ->