Skip to content

Commit aa6df35

Browse files
committed
fixup! Fix Cowboy crashes caused by double reply
1 parent 5e5c204 commit aa6df35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_management/src/rabbit_mgmt_wm_exchange_publish.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ content_types_provided(ReqData, Context) ->
3030
{rabbit_mgmt_util:responder_map(to_json), ReqData, Context}.
3131

3232
resource_exists(ReqData, Context) ->
33-
case rabbit_mgmt_wm_queue:exchange(ReqData) of
33+
case rabbit_mgmt_wm_exchange:exchange(ReqData) of
3434
not_found -> {false, set_resp_not_found(ReqData), Context};
3535
_ -> {true, ReqData, Context}
3636
end.

0 commit comments

Comments
 (0)