bazel fixes

This commit is contained in:
Simon Unge 2024-08-12 19:10:32 +00:00 committed by Michael Klishin
parent 5189adf144
commit 782823fd39
3 changed files with 5 additions and 1 deletions

View File

@ -98,6 +98,7 @@ def all_beam_files(name = "all_beam_files"):
"src/rabbit_mgmt_wm_quorum_queue_replicas_delete_member.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_grow.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_shrink.erl",
"src/rabbit_mgmt_wm_quorum_queue_status.erl",
"src/rabbit_mgmt_wm_rebalance_queues.erl",
"src/rabbit_mgmt_wm_redirect.erl",
"src/rabbit_mgmt_wm_reset.erl",
@ -230,6 +231,7 @@ def all_test_beam_files(name = "all_test_beam_files"):
"src/rabbit_mgmt_wm_quorum_queue_replicas_delete_member.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_grow.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_shrink.erl",
"src/rabbit_mgmt_wm_quorum_queue_status.erl",
"src/rabbit_mgmt_wm_rebalance_queues.erl",
"src/rabbit_mgmt_wm_redirect.erl",
"src/rabbit_mgmt_wm_reset.erl",
@ -453,6 +455,7 @@ def all_srcs(name = "all_srcs"):
"src/rabbit_mgmt_wm_quorum_queue_replicas_delete_member.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_grow.erl",
"src/rabbit_mgmt_wm_quorum_queue_replicas_shrink.erl",
"src/rabbit_mgmt_wm_quorum_queue_status.erl",
"src/rabbit_mgmt_wm_rebalance_queues.erl",
"src/rabbit_mgmt_wm_redirect.erl",
"src/rabbit_mgmt_wm_reset.erl",

View File

@ -51,7 +51,7 @@ queue(ReqData) ->
queue(VHost, QName) ->
Name = rabbit_misc:r(VHost, queue, QName),
case rabbit_amqqueue:lookup(Name) of
{ok, Q} -> rabbit_quorum_queue:status(VHost, QName);
{ok, _Q} -> rabbit_quorum_queue:status(VHost, QName);
{error, not_found} -> not_found
end.

View File

@ -988,6 +988,7 @@ rabbitmq_management:
- rabbit_mgmt_wm_quorum_queue_replicas_delete_member
- rabbit_mgmt_wm_quorum_queue_replicas_grow
- rabbit_mgmt_wm_quorum_queue_replicas_shrink
- rabbit_mgmt_wm_quorum_queue_status
- rabbit_mgmt_wm_rebalance_queues
- rabbit_mgmt_wm_redirect
- rabbit_mgmt_wm_reset