Merge pull request #2491 from endocode/iaguis/fix-test

rafttest: fix build error
This commit is contained in:
Xiang Li 2015-03-12 08:02:30 -07:00
commit ab20a5e12d

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