rafttest: fix build error

raftLogger is not exported so we can't access it from here. Go back to
using log.
release-2.1
Iago López Galeiras 2015-03-12 11:47:13 +01:00
parent 32105e6ed0
commit e698192e4a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func (n *node) start() {
n.Step(context.TODO(), m)
case <-n.stopc:
n.Stop()
raftLogger.Infof("raft.%d: stop", n.id)
log.Printf("raft.%d: stop", n.id)
n.Node = nil
close(n.stopc)
return