Skip to content

Commit a38d771

Browse files
Cosmetics, reduce delta with master
Makes the intent a little more obvious.
1 parent 2ebf06c commit a38d771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_vhost.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ recover(VHost) ->
7272
ok = rabbit_file:ensure_dir(VHostStubFile),
7373
ok = file:write_file(VHostStubFile, VHost),
7474
{RecoveredQs, FailedQs} = rabbit_amqqueue:recover(VHost),
75+
AllQs = RecoveredQs ++ FailedQs,
7576
ok = rabbit_binding:recover(
7677
rabbit_exchange:recover(VHost),
77-
[QName || #amqqueue{name = QName} <- RecoveredQs ++ FailedQs]),
78+
[QName || #amqqueue{name = QName} <- AllQs]),
7879
ok = rabbit_amqqueue:start(RecoveredQs),
7980
%% Start queue mirrors.
8081
ok = rabbit_mirror_queue_misc:on_vhost_up(VHost),
@@ -327,4 +328,3 @@ info_all(Ref, AggregatorPid) -> info_all(?INFO_KEYS, Ref, AggregatorPid).
327328
info_all(Items, Ref, AggregatorPid) ->
328329
rabbit_control_misc:emitting_map(
329330
AggregatorPid, Ref, fun(VHost) -> info(VHost, Items) end, list()).
330-

0 commit comments

Comments
 (0)