mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafttest: fix build error
raftLogger is not exported so we can't access it from here. Go back to using log.
This commit is contained in:
parent
32105e6ed0
commit
e698192e4a
@ -59,7 +59,7 @@ func (n *node) start() {
|
|||||||
n.Step(context.TODO(), m)
|
n.Step(context.TODO(), m)
|
||||||
case <-n.stopc:
|
case <-n.stopc:
|
||||||
n.Stop()
|
n.Stop()
|
||||||
raftLogger.Infof("raft.%d: stop", n.id)
|
log.Printf("raft.%d: stop", n.id)
|
||||||
n.Node = nil
|
n.Node = nil
|
||||||
close(n.stopc)
|
close(n.stopc)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user