Fix logging

This commit is contained in:
Martynas Pumputis committed 2016-05-10 15:18:10 +01:00
1 parent 0e694ed6b4
commit f9157acced
1 file changed
+1 -1
+1 -1
View File
@@ -508,7 +508,7 @@ func (alloc *Allocator) annotatePeernames(names []mesh.PeerName) []string {
// NB: the function is invoked by the gossip library routines and should be
// registered manually.
func (alloc *Allocator) PeerGone(peerName mesh.PeerName) {
alloc.debugln("PeerGone: peer %s", peerName)
alloc.debugf("PeerGone: peer %s", peerName)
alloc.actionChan <- func() {
ringPeers := alloc.ring.PeerNames()