server: fix logging statement in peerBootstrapper
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.
This commit is contained in:
parent
6253419ce5
commit
c8226b1393
@ -588,7 +588,7 @@ func (s *server) peerBootstrapper(numTargetPeers uint32,
|
|||||||
// exact number we need to reach our threshold.
|
// exact number we need to reach our threshold.
|
||||||
numNeeded := numTargetPeers - numActivePeers
|
numNeeded := numTargetPeers - numActivePeers
|
||||||
|
|
||||||
srvrLog.Debug("Attempting to obtain %v more network "+
|
srvrLog.Debugf("Attempting to obtain %v more network "+
|
||||||
"peers", numNeeded)
|
"peers", numNeeded)
|
||||||
|
|
||||||
// With the number of peers we need calculated, we'll
|
// With the number of peers we need calculated, we'll
|
||||||
|
Loading…
Reference in New Issue
Block a user