diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2020-01-28 16:54:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-28 16:54:17 +0300 |
| commit | 3f866531061a3c6fc2b9ce8556b3b228b7db71a9 (patch) | |
| tree | 01345e4f10ef932cb73e5e1d7e7ad27ace1097d4 | |
| parent | ef19280a28b6e5180e9ed3efefb9d2743c221ef3 (diff) | |
| parent | 7d6e681fa0d73b965ce51edc8f0f4c4cc88f7ef7 (diff) | |
| download | rabbitmq-server-git-3f866531061a3c6fc2b9ce8556b3b228b7db71a9.tar.gz | |
Merge pull request #2221 from loguntsov/patch-1
Fix bad type of result of ack function.
| -rw-r--r-- | src/rabbit_variable_queue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index 1db5dbf233..cbc804d33f 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -710,7 +710,7 @@ ack([], State) -> ack([SeqId], State) -> case remove_pending_ack(true, SeqId, State) of {none, _} -> - State; + {[], State}; {#msg_status { msg_id = MsgId, is_persistent = IsPersistent, msg_in_store = MsgInStore, |
