Skip to content

Commit fa5737c

Browse files
Resolve a conflict #13615 #13612 #13619
1 parent 0482f06 commit fa5737c

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

deps/rabbitmq_management/src/rabbit_mgmt_wm_exchange_publish.erl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,6 @@ bad({{coordinator_unavailable, _}, _}, ReqData, Context) ->
107107
is_authorized(ReqData, Context) ->
108108
rabbit_mgmt_util:is_authorized_vhost(ReqData, Context).
109109

110-
<<<<<<< HEAD
111-
raise_not_found(ReqData, Context) ->
112-
ErrorMessage = case rabbit_mgmt_util:vhost(ReqData) of
113-
not_found ->
114-
"vhost_not_found";
115-
_ ->
116-
"exchange_not_found"
117-
end,
118-
rabbit_mgmt_util:not_found(
119-
rabbit_data_coercion:to_binary(ErrorMessage),
120-
ReqData,
121-
Context).
122-
123-
=======
124-
>>>>>>> dfe484be9 (Fix the exception logged by Cowboy caused by double reply (#13612))
125110
%%--------------------------------------------------------------------
126111

127112
decode(Payload, <<"string">>) -> Payload;

deps/rabbitmq_management/src/rabbit_mgmt_wm_queue_actions.erl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,6 @@ do_it(ReqData0, Context) ->
5757
is_authorized(ReqData, Context) ->
5858
rabbit_mgmt_util:is_authorized_admin(ReqData, Context).
5959

60-
<<<<<<< HEAD
61-
raise_not_found(ReqData, Context) ->
62-
ErrorMessage = case rabbit_mgmt_util:vhost(ReqData) of
63-
not_found ->
64-
"vhost_not_found";
65-
_ ->
66-
"queue_not_found"
67-
end,
68-
rabbit_mgmt_util:not_found(
69-
rabbit_data_coercion:to_binary(ErrorMessage),
70-
ReqData,
71-
Context).
72-
=======
73-
>>>>>>> dfe484be9 (Fix the exception logged by Cowboy caused by double reply (#13612))
7460
%%--------------------------------------------------------------------
7561

7662
action(Else, _Q, ReqData, Context) ->

deps/rabbitmq_management/src/rabbit_mgmt_wm_queue_get.erl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,20 +155,6 @@ basic_get(Ch, Q, AckMode, Enc, Trunc) ->
155155
is_authorized(ReqData, Context) ->
156156
rabbit_mgmt_util:is_authorized_vhost(ReqData, Context).
157157

158-
<<<<<<< HEAD
159-
raise_not_found(ReqData, Context) ->
160-
ErrorMessage = case rabbit_mgmt_util:vhost(ReqData) of
161-
not_found ->
162-
"vhost_not_found";
163-
_ ->
164-
"queue_not_found"
165-
end,
166-
rabbit_mgmt_util:not_found(
167-
rabbit_data_coercion:to_binary(ErrorMessage),
168-
ReqData,
169-
Context).
170-
=======
171-
>>>>>>> dfe484be9 (Fix the exception logged by Cowboy caused by double reply (#13612))
172158
%%--------------------------------------------------------------------
173159

174160
maybe_truncate(Payload, none) -> Payload;

0 commit comments

Comments
 (0)