diff options
author | Rob Harrop <rob@rabbitmq.com> | 2011-05-16 14:58:55 +0100 |
---|---|---|
committer | Rob Harrop <rob@rabbitmq.com> | 2011-05-16 14:58:55 +0100 |
commit | 9080f592a2d9413138ee46a079a6ac761459a75c (patch) | |
tree | 85b1db0e003558f184738d8a4fd12b0f42624487 /src/rabbit_mirror_queue_master.erl | |
parent | 137b8589eb53bfcec543dbbbe3e741225a6b9de7 (diff) | |
download | rabbitmq-server-9080f592a2d9413138ee46a079a6ac761459a75c.tar.gz |
Fixed call to validate_message
Diffstat (limited to 'src/rabbit_mirror_queue_master.erl')
-rw-r--r-- | src/rabbit_mirror_queue_master.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_master.erl b/src/rabbit_mirror_queue_master.erl index 481ee7c4..f54c8c37 100644 --- a/src/rabbit_mirror_queue_master.erl +++ b/src/rabbit_mirror_queue_master.erl @@ -287,7 +287,7 @@ is_duplicate(none, Message = #basic_message { id = MsgId }, error -> %% We permit the underlying BQ to have a peek at it, but %% only if we ourselves are not filtering out the msg. - {Result, BQS1} = BQ:validate_message(Message, BQS), + {Result, BQS1} = BQ:is_duplicate(none, Message, BQS), {Result, State #state { backing_queue_state = BQS1 }}; {ok, published} -> %% It already got published when we were a slave and no |