diff options
| author | kjnilsson <knilsson@pivotal.io> | 2019-02-21 10:15:39 +0000 |
|---|---|---|
| committer | kjnilsson <knilsson@pivotal.io> | 2019-02-22 14:17:18 +0000 |
| commit | 99ee5fb79f060d80833e4d26f4cd0896457f74b2 (patch) | |
| tree | 58f83f2a78fbec63b70fa3a0d9c9ba2e77138f21 | |
| parent | 9e9eeb5fc6b35784bd1b6de110f6b58ce965fe8c (diff) | |
| download | rabbitmq-server-git-99ee5fb79f060d80833e4d26f4cd0896457f74b2.tar.gz | |
fix dialyzer issues
| -rw-r--r-- | src/rabbit_quorum_queue.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_quorum_queue.erl b/src/rabbit_quorum_queue.erl index 7c46170b8e..e811bfffb3 100644 --- a/src/rabbit_quorum_queue.erl +++ b/src/rabbit_quorum_queue.erl @@ -683,14 +683,12 @@ add_member(Q, Node) when ?amqqueue_is_quorum(Q) -> rabbit_misc:execute_mnesia_transaction( fun() -> rabbit_amqqueue:update(QName, Fun) end), ok; - timeout -> + {timeout, _} -> {error, timeout}; E -> %% TODO should we stop the ra process here? E end; - timeout -> - {error, timeout}; E -> E end. |
