summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_variable_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 430feafbfb..1db5dbf233 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -2846,7 +2846,7 @@ move_messages_to_vhost_store(Queues) ->
%% New store should not be recovered.
NewMsgStore = start_new_store(VHosts),
%% Recovery terms should be started for all vhosts for new store.
- [{ok, _} = rabbit_recovery_terms:open_table(VHost) || VHost <- VHosts],
+ [ok = rabbit_recovery_terms:open_table(VHost) || VHost <- VHosts],
MigrationBatchSize = application:get_env(rabbit, queue_migration_batch_size,
?QUEUE_MIGRATION_BATCH_SIZE),