Skip to content

Commit 01eb5d3

Browse files
Compile
1 parent 6da0ea9 commit 01eb5d3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

deps/rabbitmq_peer_discovery_consul/src/rabbit_peer_discovery_consul.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,7 @@ send_health_check_pass() ->
470470
ok;
471471
%% starting with Consul 1.11, see https://github.com/hashicorp/consul/pull/11950
472472
{error, "404"} ->
473-
?LOG_WARNING(
474-
"Consul responded to a health check with a 404 status, will "
475-
"wait and try re-registering",
476-
#{domain => ?RMQLOG_DOMAIN_PEER_DIS}),
473+
_ = rabbit_log:warning("Consul responded to a health check with a 404 status, will wait and try re-registering"),
477474
maybe_re_register(wait_for_list_nodes()),
478475
ok;
479476
%% prior to Consul 1.11, see https://github.com/hashicorp/consul/pull/11950

0 commit comments

Comments
 (0)