From c8226b13932c2fb908b5bddf959f5d2762d31dcf Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 4 Oct 2017 14:52:48 -0700 Subject: [PATCH] server: fix logging statement in peerBootstrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit fixes an incorrect logging statement within the peerBootstrapper goroutine. We we’re using a Debug method previously when we should’ve been using Debugf in order to properly pass the logging statement through. --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index f9ff2a214..f834072ea 100644 --- a/server.go +++ b/server.go @@ -588,7 +588,7 @@ func (s *server) peerBootstrapper(numTargetPeers uint32, // exact number we need to reach our threshold. numNeeded := numTargetPeers - numActivePeers - srvrLog.Debug("Attempting to obtain %v more network "+ + srvrLog.Debugf("Attempting to obtain %v more network "+ "peers", numNeeded) // With the number of peers we need calculated, we'll