fix indentation
This commit is contained in:
parent
d3824cfc33
commit
632b7744d1
|
|
@ -619,26 +619,26 @@ do_subscribe(Destination, DestHdr, Frame,
|
||||||
ok = rabbit_routing_util:ensure_binding(
|
ok = rabbit_routing_util:ensure_binding(
|
||||||
Queue, ExchangeAndKey, Channel)
|
Queue, ExchangeAndKey, Channel)
|
||||||
catch exit:Err ->
|
catch exit:Err ->
|
||||||
%% it's safe to delete this queue, it
|
%% it's safe to delete this queue, it
|
||||||
%% was server-named and declared by us
|
%% was server-named and declared by us
|
||||||
case Destination of
|
case Destination of
|
||||||
{exchange, _} ->
|
{exchange, _} ->
|
||||||
ok = maybe_clean_up_queue(Queue, State);
|
ok = maybe_clean_up_queue(Queue, State);
|
||||||
{topic, _} ->
|
{topic, _} ->
|
||||||
ok = maybe_clean_up_queue(Queue, State);
|
ok = maybe_clean_up_queue(Queue, State);
|
||||||
_ ->
|
_ ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
exit(Err)
|
exit(Err)
|
||||||
end,
|
end,
|
||||||
ok(State#state{subscriptions =
|
ok(State#state{subscriptions =
|
||||||
dict:store(
|
dict:store(
|
||||||
ConsumerTag,
|
ConsumerTag,
|
||||||
#subscription{dest_hdr = DestHdr,
|
#subscription{dest_hdr = DestHdr,
|
||||||
ack_mode = AckMode,
|
ack_mode = AckMode,
|
||||||
multi_ack = IsMulti,
|
multi_ack = IsMulti,
|
||||||
description = Description},
|
description = Description},
|
||||||
Subs),
|
Subs),
|
||||||
route_state = RouteState1})
|
route_state = RouteState1})
|
||||||
end;
|
end;
|
||||||
{error, _} = Err ->
|
{error, _} = Err ->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue