summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-08-11 14:14:11 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-08-11 14:14:11 +0100
commit1883df90676fe5db719ec6469aa95275821870c6 (patch)
tree734dc4045e2ea4d3189412236dae6820cf8a046c
parentea063f697bbd9be1576a1df29ea0fe6bedd82e18 (diff)
downloadrabbitmq-server-git-1883df90676fe5db719ec6469aa95275821870c6.tar.gz
Report empty list of slave_pids when mirroring is off, rather than empty atom
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 86daa1552f..bc1a85d0c0 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -776,7 +776,7 @@ i(slave_pids, #q{q = #amqqueue{name = Name}}) ->
{ok, #amqqueue{mirror_nodes = MNodes,
slave_pids = SPids}} = rabbit_amqqueue:lookup(Name),
case MNodes of
- undefined -> '';
+ undefined -> [];
_ -> SPids
end;
i(backing_queue_status, #q{backing_queue_state = BQS, backing_queue = BQ}) ->