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:
Olaoluwa Osuntokun 2017-10-04 14:52:48 -07:00
parent 6253419ce5
commit c8226b1393
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -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