Skip to content

Commit bb43c0b

Browse files
committed
Ignore result without strict match to avoid diayzer warning
1 parent a45aa81 commit bb43c0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,9 @@ leader_health_check(QueueNameOrRegEx, VHost, ProcessLimitThreshold) ->
21862186

21872187
run_leader_health_check(ClusterName, QResource, HealthCheckRef, From) ->
21882188
Leader = ra_leaderboard:lookup_leader(ClusterName),
2189-
{_, _, _} =
2189+
2190+
%% Ignoring result here is required to clear a diayzer warning.
2191+
_ =
21902192
case ra_server_proc:ping(Leader, ?LEADER_HEALTH_CHECK_TIMEOUT) of
21912193
{pong,leader} ->
21922194
From ! {ok, HealthCheckRef, QResource};

0 commit comments

Comments
 (0)