diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-11 14:14:11 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-11 14:14:11 +0100 |
| commit | 1883df90676fe5db719ec6469aa95275821870c6 (patch) | |
| tree | 734dc4045e2ea4d3189412236dae6820cf8a046c | |
| parent | ea063f697bbd9be1576a1df29ea0fe6bedd82e18 (diff) | |
| download | rabbitmq-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.erl | 2 |
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}) -> |
