From b0cf584f4577a2a518dadb44e156dfc86a81ac83 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 5 Oct 2023 10:04:16 +0100 Subject: [PATCH] Update src/riak_kv_replrtq_peer.erl Co-authored-by: Thomas Arts --- src/riak_kv_replrtq_peer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/riak_kv_replrtq_peer.erl b/src/riak_kv_replrtq_peer.erl index fcf957e65..e958f506c 100644 --- a/src/riak_kv_replrtq_peer.erl +++ b/src/riak_kv_replrtq_peer.erl @@ -218,7 +218,7 @@ do_discovery(QueueName, PeerInfo, Type) -> {DiscoveredPeers, _} when is_list(CurrentPeers) -> lager:info( "Type=~w discovery old_peers=~w new_peers=~w", - [Type, length(CurrentPeers), length(OldPeers)]), + [Type, length(CurrentPeers), length(DiscoveredPeers)]), riak_kv_replrtq_snk:add_snkqueue( QueueName, DiscoveredPeers, SnkWorkerCount, PerPeerLimit), true;